]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
procfs: use proper units for noMMU statm
authorSteven J. Magnani <steve@digidescorp.com>
Tue, 15 Dec 2009 02:00:04 +0000 (18:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2009 16:53:24 +0000 (08:53 -0800)
commit7e1e0ef22c9ba9f797d7c4448feee722584bba5c
tree892fd5374f4815891065f148617fefc601e19219
parentea637639591def87a54cea811cbac796980cb30d
procfs: use proper units for noMMU statm

On no-MMU systems, sizes reported in /proc/n/statm have units of bytes.
Per Documentation/filesystems/proc.txt, these values should be in pages.

Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
Cc: Greg Ungerer <gerg@snapgear.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/task_nommu.c