summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRavikiran G Thirumalai <kiran@scalex86.org>2006-02-05 08:27:58 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-05 20:06:53 +0100
commitca3b9b91735316f0ec7f01976f85842e0bfe5c6e (patch)
treefc58744ab0371adb5942462ceab3fa70d0ef9375 /lib
parent[PATCH] NUMA slab locking fixes: move color_next to l3 (diff)
downloadlinux-ca3b9b91735316f0ec7f01976f85842e0bfe5c6e.tar.xz
linux-ca3b9b91735316f0ec7f01976f85842e0bfe5c6e.zip
[PATCH] NUMA slab locking fixes: irq disabling from cahep->spinlock to l3 lock
Earlier, we had to disable on chip interrupts while taking the cachep->spinlock because, at cache_grow, on every addition of a slab to a slab cache, we incremented colour_next which was protected by the cachep->spinlock, and cache_grow could occur at interrupt context. Since, now we protect the per-node colour_next with the node's list_lock, we do not need to disable on chip interrupts while taking the per-cache spinlock, but we just need to disable interrupts when taking the per-node kmem_list3 list_lock. Signed-off-by: Alok N Kataria <alokk@calsoftinc.com> Signed-off-by: Ravikiran Thirumalai <kiran@scalex86.org> Signed-off-by: Shai Fultheim <shai@scalex86.org> Cc: Christoph Lameter <christoph@lameter.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions