[Cbe-oss-dev] spufs poll issues

Arnd Bergmann arnd at arndb.de
Tue Nov 27 20:32:24 EST 2007


On Tuesday 27 November 2007, Christoph Hellwig wrote:
> Currently the poll methods on spufs all call spu_acquire which turns
> into a mutex_lock on ctx->state_mutex.  Unfortunately ->poll isn't
> actually allowed to block (although I can't really find a good reason
> for that).  Looks like we're in a bit of a problem here.

Where is it documented that ->poll can't block? Is that just common
knowledge or is there a WARN_ON() or so in the code that actually
prevents us from blocking?

	Arnd <><



More information about the cbe-oss-dev mailing list