Paul Jackson b8b50b6519 [PATCH] mm: fallback_alloc cpuset_zone_allowed irq fix
fallback_alloc() could end up calling cpuset_zone_allowed() with interrupts
disabled (by code in kmem_cache_alloc_node()), but without __GFP_HARDWALL
set, leading to a possible call of a sleeping function with interrupts
disabled.

This results in the BUG report:

  BUG: sleeping function called from invalid context at kernel/cpuset.c:1520
in_atomic():0, irqs_disabled():1

Thanks to Paul Menage for catching this one.

Signed-off-by: Paul Jackson <pj@sgi.com>
Cc: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-08 08:28:37 -08:00
..
2006-12-07 08:39:21 -08:00
2006-09-26 08:48:44 -07:00
2006-12-07 08:39:22 -08:00
2006-12-07 08:39:24 -08:00
2006-09-26 08:48:45 -07:00
2006-12-07 08:39:20 -08:00
2005-04-16 15:20:36 -07:00
2006-12-07 08:39:34 -08:00