diff options
| author | 2007-05-06 14:49:22 -0700 | |
|---|---|---|
| committer | 2007-05-07 12:12:52 -0700 | |
| commit | f79f177c25016647cc92ffac8afa7cb96ce47011 (patch) | |
| tree | b613be041a467fd3ffaed7ad89d8694ede780dfa /include/linux/proc_fs.h | |
| parent | smaps: extract pmd walker from smaps code (diff) | |
| download | wireguard-linux-f79f177c25016647cc92ffac8afa7cb96ce47011.tar.xz wireguard-linux-f79f177c25016647cc92ffac8afa7cb96ce47011.zip | |
smaps: add pages referenced count to smaps
Adds an additional unsigned long field to struct mem_size_stats called
'referenced'. For each pte walked in the smaps code, this field is
incremented by PAGE_SIZE if it has pte-reference bits.
An additional line was added to the /proc/pid/smaps output for each VMA to
indicate how many pages within it are currently marked as referenced or
accessed.
Cc: Hugh Dickins <hugh@veritas.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Christoph Lameter <clameter@sgi.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/proc_fs.h')
0 files changed, 0 insertions, 0 deletions
