From: Christoph Lameter Date: Wed, 13 Dec 2006 08:34:11 +0000 (-0800) Subject: [PATCH] slab: fix sleeping in atomic bug X-Git-Tag: v2.6.20-rc1~115 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd47ea755693228bf842c779e8afdfa47efb20a3;p=pandora-kernel.git [PATCH] slab: fix sleeping in atomic bug Fallback_alloc() does not do the check for GFP_WAIT as done in cache_grow(). Thus interrupts are disabled when we call kmem_getpages() which results in the failure. Duplicate the handling of GFP_WAIT in cache_grow(). Signed-off-by: Christoph Lameter Cc: Jay Cliburn Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed