[PATCH] VM: add page_state info to per-node meminfo
authorMartin Hicks <mort@sgi.com>
Sat, 3 Sep 2005 22:55:11 +0000 (15:55 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:05:49 +0000 (00:05 -0700)
commitc07e02db76940c75fc92f2f2c9adcdbb09ed70d0
tree9d777784fd5e3658d8db5b01a965d4fc568ceb93
parente070ad49f31155d872d8e96cab2142840993e3c0
[PATCH] VM: add page_state info to per-node meminfo

Add page_state info to the per-node meminfo file in sysfs.  This is mostly
just for informational purposes.

The lack of this information was brought up recently during a discussion
regarding pagecache clearing, and I put this patch together to test out one
of the suggestions.

It seems like interesting info to have, so I'm submitting the patch.

Signed-off-by: Martin Hicks <mort@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/base/node.c
include/linux/page-flags.h
mm/page_alloc.c