The patch titled mm: fallback_alloc cpuset_zone_allowed irq fix has been added to the -mm tree. Its filename is mm-fallback_alloc-cpuset_zone_allowed-irq-fix.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: mm: fallback_alloc cpuset_zone_allowed irq fix From: Paul Jackson <pj@xxxxxxx> 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@xxxxxxx> Cc: Paul Menage <menage@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- mm/slab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN mm/slab.c~mm-fallback_alloc-cpuset_zone_allowed-irq-fix mm/slab.c --- a/mm/slab.c~mm-fallback_alloc-cpuset_zone_allowed-irq-fix +++ a/mm/slab.c @@ -3182,7 +3182,7 @@ retry: for (z = zonelist->zones; *z && !obj; z++) { nid = zone_to_nid(*z); - if (cpuset_zone_allowed(*z, flags) && + if (cpuset_zone_allowed(*z, flags | __GFP_HARDWALL) && cache->nodelists[nid] && cache->nodelists[nid]->free_objects) obj = ____cache_alloc_node(cache, _ Patches currently in -mm which might be from pj@xxxxxxx are memory-page-alloc-minor-cleanups.patch memory-page_alloc-zonelist-caching-speedup.patch memory-page_alloc-zonelist-caching-reorder-structure.patch cpuset-minor-code-refinements.patch cpuset-allow-a-larger-buffer-for-writes-to-cpuset-files.patch mm-fallback_alloc-cpuset_zone_allowed-irq-fix.patch cpuset-remove-sched-domain-hooks-from-cpusets.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html