diff options
| author | Changbin Du <changbin.du@gmail.com> | 2021-09-24 15:43:41 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-09 14:11:03 +0200 |
| commit | 236dc5397133fb7f94aa91c8d5029a5e278c4933 (patch) | |
| tree | e7df2872bf30586b299af8fdc9dcf349428582d3 /drivers | |
| parent | e750003693caba8c183ec96e3075cc322f0a6415 (diff) | |
tools/vm/page-types: remove dependency on opt_file for idle page tracking
[ Upstream commit ebaeab2fe87987cef28eb5ab174c42cd28594387 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions
