Re: next-20130607 BUG: sleeping function called from invalidcontext at lib/idr.c:424

From: Davidlohr Bueso
Date: Wed Jun 12 2013 - 21:47:00 EST


On Wed, 2013-06-12 at 21:22 -0400, Valdis.Kletnieks@xxxxxx wrote:
> On Tue, 11 Jun 2013 11:38:20 -0700, Davidlohr Bueso said:
>
> > > Looking at 'git blame', I see a bunch of patches from Davidlohr Bueso on 06/07
> > > that hit ipc/util.c and friends.
> >
> > Yeah, this is my fault. It was originally reported by Fengguang:
> > http://www.spinics.net/lists/kernel/msg1545633.html#.UbYI9qqdmV8
> >
> > Sasha proposed a fix to use GFP_ATOMIC in idr_preload instead of
> > GFP_KERNEL:
> >
> > http://lkml.org/lkml/2013/6/10/322
>
> Confirming that Sasha's proposed fix eliminates the BUG in my kernel,
> so if GFP_ATOMIC is acceptable otherwise, feel free to stick a Tested-By:
> on it of you like.

Actually, this is the fix we are going with:
https://lkml.org/lkml/2013/6/11/705

Thanks,
Davidlohr



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