]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Zone reclaim: Allow modification of zone reclaim behavior
authorChristoph Lameter <clameter@engr.sgi.com>
Wed, 1 Feb 2006 11:05:34 +0000 (03:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:16 +0000 (08:53 -0800)
commitecf13f9423d0cba270cc14a4d2e0d452c1f028fc
treea8f257639d4041bf0e7d61eda3fb72f2eb69f4bc
parent6a8b5fbb2cc944c660f4703582da8b5aa30edc78
[PATCH] Zone reclaim: Allow modification of zone reclaim behavior

In some situations one may want zone_reclaim to behave differently.  For
example a process writing large amounts of memory will spew unto other nodes
to cache the writes if many pages in a zone become dirty.  This may impact the
performance of processes running on other nodes.

Allowing writes during reclaim puts a stop to that behavior and throttles the
process by restricting the pages to the local zone.

Similarly one may want to contain processes to local memory by enabling
regular swap behavior during zone_reclaim.  Off node memory allocation can
then be controlled through memory policies and cpusets.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/sysctl/vm.txt
mm/vmscan.c