From: Paul Jackson Date: Fri, 8 Dec 2006 10:35:53 +0000 (-0800) Subject: [PATCH] mm: fallback_alloc cpuset_zone_allowed irq fix X-Git-Tag: v2.6.20-rc1~34^2~407 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8b50b6519afa9891b753c4fffa89d89e04df66a;p=pandora-kernel.git [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 Cc: Paul Menage Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed