From: Alok N Kataria Date: Wed, 28 Sep 2005 04:45:46 +0000 (-0700) Subject: [PATCH] kmalloc_node IRQ safety fix X-Git-Tag: v2.6.14-rc3~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c382300876f2337f7b945c159ffcaf285f296ea;p=pandora-kernel.git [PATCH] kmalloc_node IRQ safety fix In kmalloc_node we are checking if the allocation is for the same node when interrupts are "on". This may lead to an allocation on another node than intended. This patch just shifts the check for the current node in __cache_alloc_node when interrupts are disabled. Signed-off-by: Alok N Kataria Acked-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed