-
- Downloads
[PATCH] zoned vm counters: zone_reclaim: remove /proc/sys/vm/zone_reclaim_interval
The zone_reclaim_interval was necessary because we were not able to determine how many unmapped pages exist in a zone. Therefore we had to scan in intervals to figure out if any pages were unmapped. With the zoned counters and NR_ANON_PAGES we now know the number of pagecache pages and the number of mapped pages in a zone. So we can simply skip the reclaim if there is an insufficient number of unmapped pages. We use SWAP_CLUSTER_MAX as the boundary. Drop all support for /proc/sys/vm/zone_reclaim_interval. Signed-off-by:Christoph Lameter <clameter@sgi.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- Documentation/sysctl/vm.txt 0 additions, 13 deletionsDocumentation/sysctl/vm.txt
- include/linux/mmzone.h 0 additions, 6 deletionsinclude/linux/mmzone.h
- include/linux/swap.h 0 additions, 1 deletioninclude/linux/swap.h
- kernel/sysctl.c 0 additions, 9 deletionskernel/sysctl.c
- mm/vmscan.c 10 additions, 21 deletionsmm/vmscan.c
Loading
Please register or sign in to comment