[Cbe-oss-dev] [PATCH 3/3] spufs: catch nosched contexts in spu_deactivate

Arnd Bergmann arnd at arndb.de
Tue Jun 5 01:09:43 EST 2007


On Monday 04 June 2007, Christoph Hellwig wrote:
> spu_deactivate should never be called for nosched contets.  Put in
> a check so we can print a stacktrace and exit early in case it
> happes errornously.

Doesn't this conflict with the first patch in this series?
The core dump code actually calls spu_acquire_saved(), because
it needs to read the 'regs' file and others that can only
be accessed on a deactivated context. At least I believe
that this was the original reason for disallowing core
dumps on nosched contexts.

	Arnd <><



More information about the cbe-oss-dev mailing list