diff options
author | 2023-11-06 14:09:59 -0800 | |
---|---|---|
committer | 2023-12-10 16:51:35 -0800 | |
commit | 600bca580579d8d8454cc8fe3290e2f8b9c01884 (patch) | |
tree | 0cba9b2c20aaa1e3a6c9b84162494c05ac40c79f /mm/page_alloc.c | |
parent | fs/proc/task_mmu: report SOFT_DIRTY bits through the PAGEMAP_SCAN ioctl (diff) | |
download | wireguard-linux-600bca580579d8d8454cc8fe3290e2f8b9c01884.tar.xz wireguard-linux-600bca580579d8d8454cc8fe3290e2f8b9c01884.zip |
selftests/mm: check that PAGEMAP_SCAN returns correct categories
Right now, tests read page flags from /proc/pid/pagemap files. With this
change, tests will check that PAGEMAP_SCAN return correct information too.
[colin.i.king@gmail.com: fix spelling mistake "succedded" -> "succeeded"]
Link: https://lkml.kernel.org/r/20231121093104.1728332-1-colin.i.king@gmail.com
Link: https://lkml.kernel.org/r/20231106220959.296568-2-avagin@google.com
Signed-off-by: Andrei Vagin <avagin@google.com>
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Tested-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Cc: Michał Mirosław <mirq-linux@rere.qmqm.pl>
[avagin@google.com: allow running tests on old kernels]
Link: https://lkml.kernel.org/r/20231117181127.2574897-1-avagin@google.com
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions