]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] vm: add per-zone writeout counter
authorAndrew Morton <akpm@osdl.org>
Wed, 27 Sep 2006 08:50:00 +0000 (01:50 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Sep 2006 15:26:12 +0000 (08:26 -0700)
commite129b5c23c2b471d47f1c5d2b8b193fc2034af43
tree78232266849d0f04b056b0f44554bcb476f0b8e1
parentfb01439c5b778d5974a488c5d4fe85e6d0e18a68
[PATCH] vm: add per-zone writeout counter

The VM is supposed to minimise the number of pages which get written off the
LRU (for IO scheduling efficiency, and for high reclaim-success rates).  But
we don't actually have a clear way of showing how true this is.

So add `nr_vmscan_write' to /proc/vmstat and /proc/zoneinfo - the number of
pages which have been written by the vm scanner in this zone and globally.

Cc: Christoph Lameter <clameter@engr.sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/mmzone.h
mm/vmscan.c
mm/vmstat.c