hugetlb: indicate surplus huge page counts in per-node meminfo
authorNishanth Aravamudan <nacc@us.ibm.com>
Wed, 26 Mar 2008 21:37:53 +0000 (14:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 26 Mar 2008 22:01:33 +0000 (15:01 -0700)
commita1de09195b294c6a4c5dec8c8defd0a2688d3f75
tree097720233a20f50a094ce38d8e4853bb4e4a562d
parent6edef97e17ca1c322b146023862da8a39e36204d
hugetlb: indicate surplus huge page counts in per-node meminfo

Currently we show the surplus hugetlb pool state in /proc/meminfo, but
not in the per-node meminfo files, even though we track the information
on a per-node basis. Printing it there can help track down dynamic pool
bugs including the one in the follow-on patch.

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hugetlb.c