summaryrefslogtreecommitdiffstats
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@engr.sgi.com>2006-03-22 09:09:07 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-22 16:54:06 +0100
commitb18e7e654d7af741d2bf34a90dc34128d0217fea (patch)
tree04cbc067da970b8b24c8b5d48a1e7d9520f92b06 /mm/swapfile.c
parent[PATCH] slab: remove drain_array_locked (diff)
downloadlinux-b18e7e654d7af741d2bf34a90dc34128d0217fea.tar.xz
linux-b18e7e654d7af741d2bf34a90dc34128d0217fea.zip
[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 <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions