]> git.baikalelectronics.ru Git - kernel.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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Jul 2008 17:40:09 +0000 (10:40 -0700)
commit52d7694a0c659c4f408334ffcb02b6a68c36a6a3
tree66ba595a593da124d77fb0baf2f7d12d79d6165c
parent16f85714874f8088c3b8bbfbbbd3fc026ed8604c
mm: switch node meminfo Active & Inactive pages to Kbytes

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().

Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/base/node.c