diff options
| author | Andrew Morton <akpm@osdl.org> | 2003-12-29 05:44:34 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-12-29 05:44:34 -0800 |
| commit | 9c8c94922e75afa04ee2d623e27b8ed0dd0ae8f3 (patch) | |
| tree | 060879a6218a3ea2336a09a3e444b7c2e9d3e413 /scripts/split-include.c | |
| parent | 6f2220203d88732a4b04599e8513f6e10fcc9660 (diff) | |
[PATCH] vmscan: reset refill_counter after refilling the inactive list
zone->refill_counter is only there to provide decent levels of work batching:
don't call refill_inactive_zone() just for a couple of pages.
But the logic in there allows it to build up to huge values and it can
overflow (go negative) which will disable refilling altogether until it wraps
positive again.
Just reset it to zero whenever we decide to do some refilling.
Diffstat (limited to 'scripts/split-include.c')
0 files changed, 0 insertions, 0 deletions
