diff options
author | Changbin Du <changbin.du@gmail.com> | 2021-09-25 00:43:41 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-09-25 01:13:35 +0200 |
commit | ebaeab2fe87987cef28eb5ab174c42cd28594387 (patch) | |
tree | 0c34660f43f0b06d9f39bc1137c2471ddd66247b /mm | |
parent | scripts/sorttable: riscv: fix undeclared identifier 'EM_RISCV' error (diff) | |
download | linux-ebaeab2fe87987cef28eb5ab174c42cd28594387.tar.xz linux-ebaeab2fe87987cef28eb5ab174c42cd28594387.zip |
tools/vm/page-types: remove dependency on opt_file for idle page tracking
Idle page tracking can also be used for process address space, not only
file mappings.
Without this change, using with '-i' option for process address space
encounters below errors reported.
$ sudo ./page-types -p $(pidof bash) -i
mark page idle: Bad file descriptor
mark page idle: Bad file descriptor
mark page idle: Bad file descriptor
mark page idle: Bad file descriptor
...
Link: https://lkml.kernel.org/r/20210917032826.10669-1-changbin.du@gmail.com
Signed-off-by: Changbin Du <changbin.du@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions