summaryrefslogtreecommitdiffstats
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2006-03-22 09:09:08 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-22 16:54:06 +0100
commit879336c3930ae9273ea1c45214cb8adae0ce494a (patch)
tree24fbb8aff19f6747b6cc40cb05cbe9f4c21f85e3 /mm/swapfile.c
parent[PATCH] slab: fix drain_array() so that it works correctly with the shared_array (diff)
downloadlinux-879336c3930ae9273ea1c45214cb8adae0ce494a.tar.xz
linux-879336c3930ae9273ea1c45214cb8adae0ce494a.zip
[PATCH] drain_node_pages: interrupt latency reduction / optimization
1. Only disable interrupts if there is actually something to free 2. Only dirty the pcp cacheline if we actually freed something. 3. Disable interrupts for each single pcp and not for cleaning all the pcps in all zones of a node. drain_node_pages is called every 2 seconds from cache_reap. This fix should avoid most disabling of interrupts. 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