From: Paul Jackson <pj@sgi.com>
To: Paul Menage <menage@google.com>
Cc: akpm@osdl.org, linux-mm@kvack.org, clameter@sgi.com
Subject: Re: Call to cpuset_zone_allowed() in slab.c:fallback_alloc() with irqs disabled
Date: Wed, 6 Dec 2006 02:53:52 -0800 [thread overview]
Message-ID: <20061206025352.b1d9d63a.pj@sgi.com> (raw)
In-Reply-To: <6599ad830611221634w6a768c1ek816dda61a97b68c@mail.gmail.com>
A couple of weeks ago, Paul M wrote:
I just saw this backtrace on 2.6.19-rc5:
>
> BUG: sleeping function called from invalid context at kernel/cpuset.c:1520
> in_atomic():0, irqs_disabled():1
>
> Call Trace:
> ...
>
> kmem_cache_alloc_node() disables irqs, then calls __cache_alloc_node()
> -> fallback_alloc() -> cpuset_zone_allowed(), with flags that appear
> to be GFP_KERNEL.
Thanks for reporting this - it looks like a missing __GFP_HARDWALL flag
on a new invocation of cpuset_zone_allowed().
I just sent a patch to lkml, and copied Christoph, since this is in his
code, just to be sure I didn't break something.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401
--
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>
prev parent reply other threads:[~2006-12-06 10:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-23 0:34 Paul Menage
2006-12-06 10:53 ` Paul Jackson [this message]
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=20061206025352.b1d9d63a.pj@sgi.com \
--to=pj@sgi.com \
--cc=akpm@osdl.org \
--cc=clameter@sgi.com \
--cc=linux-mm@kvack.org \
--cc=menage@google.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox