summaryrefslogtreecommitdiffstats
path: root/Documentation/pcmcia
diff options
context:
space:
mode:
authorNikanth Karthikesan <knikanth@suse.de>2010-10-28 00:34:10 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-28 03:03:13 +0200
commitb40d4f84becd69275451baee7f0801c85eb58437 (patch)
tree78258f7b431a900bf8292d25970dea74b8aa283f /Documentation/pcmcia
parentexit: add lock context annotation on find_new_reaper() (diff)
downloadlinux-b40d4f84becd69275451baee7f0801c85eb58437.tar.xz
linux-b40d4f84becd69275451baee7f0801c85eb58437.zip
/proc/pid/smaps: export amount of anonymous memory in a mapping
Export the number of anonymous pages in a mapping via smaps. Even the private pages in a mapping backed by a file, would be marked as anonymous, when they are modified. Export this information to user-space via smaps. Exporting this count will help gdb to make a better decision on which areas need to be dumped in its coredump; and should be useful to others studying the memory usage of a process. Signed-off-by: Nikanth Karthikesan <knikanth@suse.de> Acked-by: Hugh Dickins <hughd@google.com> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.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>
Diffstat (limited to 'Documentation/pcmcia')
0 files changed, 0 insertions, 0 deletions