linux/fs/proc
Nikanth Karthikesan b40d4f84be /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>
2010-10-27 18:03:13 -07:00
..
array.c
base.c signals: move cred_guard_mutex from task_struct to signal_struct 2010-10-27 18:03:12 -07:00
cmdline.c
cpuinfo.c
devices.c
generic.c
inode.c bkl: Remove locked .ioctl file operation 2010-08-14 00:24:24 +02:00
internal.h
interrupts.c
Kconfig vmcore: it is not experimental any more 2010-10-26 16:52:05 -07:00
kcore.c
kmsg.c
loadavg.c
Makefile procfs: simplify conditional processing of fs/proc.o. 2010-08-11 08:59:20 -07:00
meminfo.c
mmu.c
nommu.c
page.c proc: export uncached bit properly in /proc/kpageflags 2010-09-09 18:57:23 -07:00
proc_devtree.c
proc_net.c
proc_sysctl.c fs: do not assign default i_ino in new_inode 2010-10-25 21:26:11 -04:00
proc_tty.c Revert "tty: Add a new file /proc/tty/consoles" 2010-10-23 08:14:12 -07:00
root.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
softirqs.c
stat.c
task_mmu.c /proc/pid/smaps: export amount of anonymous memory in a mapping 2010-10-27 18:03:13 -07:00
task_nommu.c
uptime.c
version.c
vmcore.c /proc/vmcore: fix seeking 2010-09-22 17:22:38 -07:00