[PATCH] VM: rate limit early reclaim
authorMartin Hicks <mort@sgi.com>
Wed, 22 Jun 2005 00:14:43 +0000 (17:14 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 22 Jun 2005 01:46:14 +0000 (18:46 -0700)
commit1e7e5a9048b30c57ba1ddaa6cdf59b21b65cde99
tree26eb9c483718ca1a0fad23597c0dfd3a69e9f080
parent0c35bbadc59f5ed105c34471143eceb4c0dd9c95
[PATCH] VM: rate limit early reclaim

When early zone reclaim is turned on the LRU is scanned more frequently when a
zone is low on memory.  This limits when the zone reclaim can be called by
skipping the scan if another thread (either via kswapd or sync reclaim) is
already reclaiming from the zone.

Signed-off-by: Martin Hicks <mort@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mmzone.h
mm/page_alloc.c
mm/vmscan.c