lkml.org 
[lkml]   [2018]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4.9 75/95] random: set up the NUMA crng instances after the CRNG is fully initialized
On Mon, Apr 23, 2018 at 07:21:10PM +0900, Tetsuo Handa wrote:
> Greg Kroah-Hartman wrote:
> > > I think this can be fixed by backporting commit 4a072c71f49b
> > > "random: silence compiler warnings and fix race" but I'm not sure
> > > whether that depends on other changes.
> >
> > According to Tetsuo Handa, it's also causing problems in mainline :(
> >
> > Ted, any thoughts as to what to do here?
>
> (Resending because Webmail post was rejected by both stable ML and linux-kernel ML.)
>
> Subject: random: GFP_KERNEL|__GFP_NOFAIL allocation from IRQ context
>
> Hello.
>
> Commit 8ef35c866f8862df ("random: set up the NUMA crng instances after
> the CRNG is fully initialized") is causing sleep inside atomic warning
> due to GFP_KERNEL|__GFP_NOFAIL allocation from IRQ context. Though it
> unlikely sleeps because there will be enough free memory at boot up...
>
> Please don't backport that patch now.

Yes, please hold off on this in the stable queues as well. What we'll
probably need to do is call defer the processing to a workqueue in the
CONFIG_NUMA case.

- Ted

\
 
 \ /
  Last update: 2018-04-23 17:58    [W:1.024 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site