]> err.no Git - linux-2.6/commit
pagemap: return map count, not reference count, in /proc/kpagecount
authorThomas Tuttle <ttuttle@google.com>
Fri, 6 Jun 2008 05:46:58 +0000 (22:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2008 18:29:13 +0000 (11:29 -0700)
commitbbcdac0c20aa20d1daad41d9c138102b70e5aae4
tree8e1f8ffdceacc788f78d21348ccff1a1f9c3cc25
parenta4fa7ef037b17f2a3b9b393cb924e571fc04e784
pagemap: return map count, not reference count, in /proc/kpagecount

Since pagemap is all about examining pages mapped into processes' memory
spaces, it makes sense for kpagecount to return the map counts, not the
reference counts.

Signed-off-by: Thomas Tuttle <ttuttle@google.com>
Cc: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/proc_misc.c