]> git.hungrycats.org Git - linux/commit
[PATCH] show Active/Inactive on per-node meminfo
authorAkinobu Mita <amgta@yacht.ocn.ne.jp>
Tue, 24 Aug 2004 04:45:14 +0000 (21:45 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 24 Aug 2004 04:45:14 +0000 (21:45 -0700)
commitd9660d8277eda0ea18412bb306225261d1c8dd92
treede67d617033add034ad0c56fb8638abd37f520ff
parentc9d12e45058956c4356c894d6518709315f056ba
[PATCH] show Active/Inactive on per-node meminfo

  The patch below enable to display the size of Active/Inactive pages on
  per-node meminfo (/sys/devices/system/node/node%d/meminfo) like
  /proc/meminfo.

  By a little change to procps, "vmstat -a" can show these statistics about
  particular node.

From: mita akinobu <amgta@yacht.ocn.ne.jp>

  get_zone_counts() is used by max_sane_readahead(), and
  max_sane_readahead() is often called in filemap_nopage().

Signed-off-by: Akinobu Mita <amgta@yacht.ocn.ne.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/base/node.c
include/linux/mmzone.h
mm/page_alloc.c
mm/readahead.c