[dm-devel] [PATCH] Remove might_sleep from wait_event_cmd

Peter Zijlstra peterz at infradead.org
Tue Feb 3 11:06:30 UTC 2015


On Tue, Feb 03, 2015 at 09:12:53AM +1100, NeilBrown wrote:
> I support this patch.

It should hopefully already be en-route to tip.

> However in case it doesn't get in, I've queued up a patch to change raid5.c
> to use __wait_event_cmd instead...

So those primitives are useful in their own; their typical use would be
when you already know @cond to be false and want to avoid the extra
invocation.




More information about the dm-devel mailing list