Re: [mmots-2016-06-09-16-49] sleeping function called from slab_alloc()

From: Sergey Senozhatsky
Date: Fri Jun 10 2016 - 05:58:19 EST


On (06/10/16 11:55), mhocko wrote:
> On 2016-06-10 11:50, Sergey Senozhatsky wrote:
> > Hello,
> >
> > forked from http://marc.info/?l=linux-mm&m=146553910928716&w=2
> >
> > new_slab()->BUG->die()->exit_signals() can be called from atomic
> > context: local IRQs disabled in slab_alloc().
>
> I have sent a patch to drop the BUG() from that path today. It
> is just too aggressive way to react to a non-critical bug.
> See
> http://lkml.kernel.org/r/1465548200-11384-2-git-send-email-mhocko@xxxxxxxxxx

ah, ok. didn't see that one.
thanks.

-ss