diff options
| author | Christoph Lameter <[email protected]> | 2006-03-22 00:09:08 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-03-22 07:54:06 -0800 |
| commit | 879336c3930ae9273ea1c45214cb8adae0ce494a (patch) | |
| tree | 24fbb8aff19f6747b6cc40cb05cbe9f4c21f85e3 /scripts/basic | |
| parent | b18e7e654d7af741d2bf34a90dc34128d0217fea (diff) | |
[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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions