linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Paul Menage" <menage@google.com>
To: Paul Jackson <pj@sgi.com>, Andrew Morton <akpm@osdl.org>
Cc: Linux Memory Management <linux-mm@kvack.org>
Subject: Call to cpuset_zone_allowed() in slab.c:fallback_alloc() with irqs disabled
Date: Wed, 22 Nov 2006 16:34:40 -0800	[thread overview]
Message-ID: <6599ad830611221634w6a768c1ek816dda61a97b68c@mail.gmail.com> (raw)

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:
 [<ffffffff8024e523>] __cpuset_zone_allowed+0x4b/0xe0
 [<ffffffff80274209>] fallback_alloc+0x9c/0xd7
 [<ffffffff8027470e>] kmem_cache_alloc+0x91/0x9b
 [<ffffffff802899a4>] d_alloc+0x23/0x1c3
 [<ffffffff8028032f>] do_lookup+0x9d/0x1dc
 [<ffffffff80281f9d>] __link_path_walk+0x88d/0xd38
 [<ffffffff802824a5>] link_path_walk+0x5d/0xe8
 [<ffffffff802a2baa>] compat_filldir64+0x0/0xba
 [<ffffffff80230f60>] current_fs_time+0x3b/0x4b
 [<ffffffff80282831>] do_path_lookup+0x1b3/0x1d6
 [<ffffffff802814ed>] getname+0x159/0x1a2
 [<ffffffff802830fe>] __user_walk_fd+0x3b/0x59
 [<ffffffff8027c23d>] vfs_lstat_fd+0x18/0x47
 [<ffffffff802a2baa>] compat_filldir64+0x0/0xba
 [<ffffffff80230f60>] current_fs_time+0x3b/0x4b
 [<ffffffff8028c6a2>] touch_atime+0x67/0xb5
 [<ffffffff8021c7d0>] sys32_lstat64+0x11/0x29
 [<ffffffff8021c1f2>] ia32_sysret+0x0/0xa

kmem_cache_alloc_node() disables irqs, then calls __cache_alloc_node()
-> fallback_alloc() -> cpuset_zone_allowed(), with flags that appear
to be GFP_KERNEL.

Paul

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

             reply	other threads:[~2006-11-23  0:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-23  0:34 Paul Menage [this message]
2006-12-06 10:53 ` Paul Jackson

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=6599ad830611221634w6a768c1ek816dda61a97b68c@mail.gmail.com \
    --to=menage@google.com \
    --cc=akpm@osdl.org \
    --cc=linux-mm@kvack.org \
    --cc=pj@sgi.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