summary refs log tree commit diff
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorChristian Hansen <chansen3@cisco.com>2018-08-17 15:45:02 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-17 16:20:28 -0700
commit59ae96ffc3a6731c3b85f9925e07e893d392e814 (patch)
tree4ee3bc1743d05ec5c123d178dacfc441bc093f72 /mm/page_alloc.c
parent7f1d23e607185e07e5df2a806a989c24627aef41 (diff)
downloadlinux-59ae96ffc3a6731c3b85f9925e07e893d392e814.tar.gz
tools/vm/page-types.c: add support for idle page tracking
Add a flag which causes page-types to use the kernels's idle page
tracking to mark pages idle.  As the tool already prints the idle flag
if set, subsequent runs will show which pages have been accessed since
last run.

[akpm@linux-foundation.org: simplify mark_page_idle()]
[chansen3@cisco.com: reorganize mark_page_idle() logic, add docs]
  Link: http://lkml.kernel.org/r/20180706172237.21691-1-chansen3@cisco.com
Link: http://lkml.kernel.org/r/20180612153223.13174-1-chansen3@cisco.com
Signed-off-by: Christian Hansen <chansen3@cisco.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions