* Call to cpuset_zone_allowed() in slab.c:fallback_alloc() with irqs disabled
@ 2006-11-23 0:34 Paul Menage
2006-12-06 10:53 ` Paul Jackson
0 siblings, 1 reply; 2+ messages in thread
From: Paul Menage @ 2006-11-23 0:34 UTC (permalink / raw)
To: Paul Jackson, Andrew Morton; +Cc: Linux Memory Management
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Call to cpuset_zone_allowed() in slab.c:fallback_alloc() with irqs disabled
2006-11-23 0:34 Call to cpuset_zone_allowed() in slab.c:fallback_alloc() with irqs disabled Paul Menage
@ 2006-12-06 10:53 ` Paul Jackson
0 siblings, 0 replies; 2+ messages in thread
From: Paul Jackson @ 2006-12-06 10:53 UTC (permalink / raw)
To: Paul Menage; +Cc: akpm, linux-mm, clameter
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-06 10:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-23 0:34 Call to cpuset_zone_allowed() in slab.c:fallback_alloc() with irqs disabled Paul Menage
2006-12-06 10:53 ` Paul Jackson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox