diff options
author | 2023-09-03 15:13:25 +0000 | |
---|---|---|
committer | 2023-10-04 10:32:20 -0700 | |
commit | 8ed873d8e5cdec3852bcb59f7cc6d017f7bc0ab7 (patch) | |
tree | 8b39062909b1ceef7276d1cbe345d771980866fc /include/linux/shrinker.h | |
parent | selftests: mm: fix failure case when new remap region was not found (diff) | |
download | wireguard-linux-8ed873d8e5cdec3852bcb59f7cc6d017f7bc0ab7.tar.xz wireguard-linux-8ed873d8e5cdec3852bcb59f7cc6d017f7bc0ab7.zip |
selftests: mm: add a test for mutually aligned moves > PMD size
This patch adds a test case to check if a PMD-alignment optimization
successfully happens.
I add support to make sure there is some room before the source mapping,
otherwise the optimization to trigger PMD-aligned move will be disabled as
the kernel will detect that a mapping before the source exists and such
optimization becomes impossible.
Link: https://lkml.kernel.org/r/20230903151328.2981432-5-joel@joelfernandes.org
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Reviewed-by: Lorenzo Stoakes <lstoakes@gmail.com>
Cc: Kalesh Singh <kaleshsingh@google.com>
Cc: "Kirill A. Shutemov" <kirill@shutemov.name>
Cc: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Lokesh Gidra <lokeshgidra@google.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Paul E. McKenney <paulmck@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/shrinker.h')
0 files changed, 0 insertions, 0 deletions