From: Christoph Lameter Date: Wed, 22 Mar 2006 08:09:07 +0000 (-0800) Subject: [PATCH] slab: fix drain_array() so that it works correctly with the shared_array X-Git-Tag: v2.6.17-rc1~1129^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b18e7e654d7af741d2bf34a90dc34128d0217fea;p=pandora-kernel.git [PATCH] slab: fix drain_array() so that it works correctly with the shared_array The list_lock also protects the shared array and we call drain_array() with the shared array. Therefore we cannot go as far as I wanted to but have to take the lock in a way so that it also protects the array_cache in drain_pages. (Note: maybe we should make the array_cache locking more consistent? I.e. always take the array cache lock for shared arrays and disable interrupts for the per cpu arrays?) Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed