diff options
| author | Christoph Lameter <[email protected]> | 2006-02-01 03:05:25 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-02-01 08:53:14 -0800 |
| commit | 8928862398fef04a137e5673ac5fa9e797960c87 (patch) | |
| tree | 141f91c4dd56d323e6f5ce2d47cd1f1d22177aa7 /scripts/basic | |
| parent | 537421be79b94bcf620467f50dd9e38b739c2a00 (diff) | |
[PATCH] Optimize off-node performance of zone reclaim
Ensure that the performance of off node pages stays the same as before.
Off node pagefault tests showed an 18% drop in performance without this
patch.
- Increase the timeout to 30 seconds to reduce the overhead.
- Move all code possible out of the off node hot path for zone reclaim
(Sorry Andrew, the struct initialization had to be sacrificed).
The read_page_state() bit us there.
- Check first for the timeout before any other checks.
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