Messages in this thread | | | Date | Mon, 4 May 2009 23:40:18 +0900 | Subject | Re: [RFC][PATCH] vmscan: don't export nr_saved_scan in /proc/zoneinfo | From | KOSAKI Motohiro <> |
| |
> 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? > > CC: Christoph Lameter <cl@linux-foundation.org> > Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |