From: mhocko <mhocko@suse.de>
To: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Cc: Christoph Lameter <cl@linux.com>,
Michal Hocko <mhocko@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Vlastimil Babka <vbabka@suse.cz>,
Stephen Rothwell <sfr@canb.auug.org.au>,
linux-mm@kvack.org, linux-next@vger.kernel.org,
linux-kernel@vger.kernel.org,
Sergey Senozhatsky <sergey.senozhatsky@gmail.com>,
linux-kernel-owner@vger.kernel.org
Subject: Re: [mmots-2016-06-09-16-49] sleeping function called from slab_alloc()
Date: Fri, 10 Jun 2016 11:55:54 +0200 [thread overview]
Message-ID: <477de582bf99ba64be662a42bf023b54@suse.de> (raw)
In-Reply-To: <20160610095048.GA655@swordfish>
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@kernel.org
--
Michal Hocko
WARNING: multiple messages have this Message-ID (diff)
From: mhocko <mhocko@suse.de>
To: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Cc: Christoph Lameter <cl@linux.com>,
Michal Hocko <mhocko@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Vlastimil Babka <vbabka@suse.cz>,
Stephen Rothwell <sfr@canb.auug.org.au>,
linux-mm@kvack.org, linux-next@vger.kernel.org,
linux-kernel@vger.kernel.org,
Sergey Senozhatsky <sergey.senozhatsky@gmail.com>,
linux-kernel-owner@vger.kernel.org
Subject: Re: [mmots-2016-06-09-16-49] sleeping function called from slab_alloc()
Date: Fri, 10 Jun 2016 11:55:54 +0200 [thread overview]
Message-ID: <477de582bf99ba64be662a42bf023b54@suse.de> (raw)
In-Reply-To: <20160610095048.GA655@swordfish>
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@kernel.org
--
Michal Hocko
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2016-06-10 9:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-10 6:11 [mmots-2016-06-09-16-49] kernel BUG at mm/slub.c:1616 Sergey Senozhatsky
2016-06-10 6:11 ` Sergey Senozhatsky
2016-06-10 6:34 ` Michal Hocko
2016-06-10 6:34 ` Michal Hocko
2016-06-10 7:24 ` Sergey Senozhatsky
2016-06-10 7:24 ` Sergey Senozhatsky
2016-06-10 7:42 ` Michal Hocko
2016-06-10 7:42 ` Michal Hocko
2016-06-10 9:50 ` [mmots-2016-06-09-16-49] sleeping function called from slab_alloc() Sergey Senozhatsky
2016-06-10 9:55 ` mhocko [this message]
2016-06-10 9:55 ` mhocko
2016-06-10 9:58 ` Sergey Senozhatsky
2016-06-10 9:58 ` Sergey Senozhatsky
2016-06-10 21:59 ` Andrew Morton
2016-06-10 21:59 ` Andrew Morton
2016-06-13 10:47 ` Michal Hocko
2016-06-13 10:47 ` Michal Hocko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=477de582bf99ba64be662a42bf023b54@suse.de \
--to=mhocko@suse.de \
--cc=akpm@linux-foundation.org \
--cc=cl@linux.com \
--cc=linux-kernel-owner@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-next@vger.kernel.org \
--cc=mhocko@kernel.org \
--cc=sergey.senozhatsky.work@gmail.com \
--cc=sergey.senozhatsky@gmail.com \
--cc=sfr@canb.auug.org.au \
--cc=vbabka@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.