]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] drain_node_pages: interrupt latency reduction / optimization
authorChristoph Lameter <clameter@sgi.com>
Wed, 22 Mar 2006 08:09:08 +0000 (00:09 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 22 Mar 2006 15:54:06 +0000 (07:54 -0800)
commit656eaed499ea14eb83f7d293e80baab2ba4411a4
tree24fbb8aff19f6747b6cc40cb05cbe9f4c21f85e3
parent4813af90de915029be5ccd77904beed197c30b69
[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>
mm/page_alloc.c