From: David Rientjes Date: Wed, 29 Aug 2012 02:57:21 +0000 (-0700) Subject: mm, slab: lock the correct nodelist after reenabling irqs X-Git-Tag: v3.6-rc4~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51cd8e6ff265650e35e46b5bcbe2ee381a7a2877;p=pandora-kernel.git mm, slab: lock the correct nodelist after reenabling irqs cache_grow() can reenable irqs so the cpu (and node) can change, so ensure that we take list_lock on the correct nodelist. This fixes an issue with commit 072bb0aa5e06 ("mm: sl[au]b: add knowledge of PFMEMALLOC reserve pages") where list_lock for the wrong node was taken after growing the cache. Reported-and-tested-by: Haggai Eran Signed-off-by: David Rientjes Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed