[PATCH] UBI: Replace yield() with cond_resched()
Peter Zijlstra
peterz at infradead.org
Tue May 8 04:31:47 EDT 2012
On Tue, 2012-05-08 at 10:26 +0200, Richard Weinberger wrote:
> The comment above yield()'s definition says:
> * If you want to use yield() to wait for something, use wait_event().
> * If you want to use yield() to be 'nice' for others, use cond_resched().
> * If you still want to use yield(), do not!
Oh wow, someone actually reads comments, sweet!!
More information about the linux-mtd
mailing list