]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: switch node meminfo Active & Inactive pages to Kbytes
authorJohn Blackwood <john.blackwood@ccur.com>
Fri, 4 Jul 2008 17:00:05 +0000 (10:00 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Jul 2008 16:14:05 +0000 (09:14 -0700)
commit3ec116ffe5e2085f1a9c63a87e64d86b85e7b81e
treeb47befc90d17efbeab0d4f2c801f5a0e2a681ea8
parent84671354a49a26e169f08b35ad0884902732bacc
mm: switch node meminfo Active & Inactive pages to Kbytes

commit 2d5c1be8870383622809c25935fff00d2630c7a5 upstream

There is a bug in the output of /sys/devices/system/node/node[n]/meminfo
where the Active and Inactive values are in pages instead of Kbytes.

Looks like this occurred back in 2.6.20 when the code was changed
over to use node_page_state().

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/node.c