]> Git Repo - linux.git/commit
vmscan: don't export nr_saved_scan in /proc/zoneinfo
authorWu Fengguang <[email protected]>
Tue, 16 Jun 2009 22:32:30 +0000 (15:32 -0700)
committerLinus Torvalds <[email protected]>
Wed, 17 Jun 2009 02:47:39 +0000 (19:47 -0700)
commit08d9ae7cbbd0c5c07573d072ec771e997a9a39e0
treee669cd3eb5a84842c798af936c9e5642765b556f
parent6e08a369ee10b361ac1cdcdf4fabd420fd08beb3
vmscan: don't export nr_saved_scan in /proc/zoneinfo

The lru->nr_saved_scan's are not meaningful counters for even kernel
developers.  They typically are smaller than 32 and are always 0 for large
lists.  So remove them from /proc/zoneinfo.

Hopefully this interface change won't break too many scripts.
/proc/zoneinfo is too unstructured to be script friendly, and I wonder the
affected scripts - if there are any - are still bleeding since the not
long ago commit "vmscan: split LRU lists into anon & file sets", which
also touched the "scanned" line :)

If we are to re-export accumulated vmscan counts in the future, they can
go to new lines in /proc/zoneinfo instead of the current form, or to
/sys/devices/system/node/node0/meminfo?

Signed-off-by: Wu Fengguang <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Cc: Nick Piggin <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/vmstat.c
This page took 0.050389 seconds and 4 git commands to generate.