Re: [PATCH] Remove might_sleep from wait_event_cmd

From: NeilBrown
Date: Tue Feb 03 2015 - 16:31:21 EST


On Tue, 3 Feb 2015 12:06:30 +0100 Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> 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.

Hopefully that means it will be in 3.19-final...

Thanks, I'll drop my __wait_event_cmd patch then.

NeilBrown

>
> > 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.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

Attachment: pgp8sM5H8YwTc.pgp
Description: OpenPGP digital signature