diff options
| author | David Rientjes <[email protected]> | 2007-05-06 14:49:22 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-05-07 12:12:52 -0700 |
| commit | f79f177c25016647cc92ffac8afa7cb96ce47011 (patch) | |
| tree | b613be041a467fd3ffaed7ad89d8694ede780dfa /include/linux/timerqueue.h | |
| parent | 826fad1b93fdb4ffacfd9cd860f06140e852e377 (diff) | |
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 <[email protected]>
Cc: Paul Mundt <[email protected]>
Cc: Christoph Lameter <[email protected]>
Signed-off-by: David Rientjes <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions