diff options
| author | Joel Fernandes (Google) <[email protected]> | 2023-09-03 15:13:27 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-10-04 10:32:20 -0700 |
| commit | 85a22845b094ec6eeb7c24c692f2290e56d9f07c (patch) | |
| tree | f9330335d460a727664fe48f657cb67c78bf9145 /tools/perf/scripts/python/task-analyzer.py | |
| parent | a4cb3b2433434377ae820ac4adcde1a570c6f332 (diff) | |
selftests: mm: add a test for remapping within a range
Move a block of memory within a memory range. Any alignment optimization
on the source address may cause corruption. Verify using kselftest that
it works. I have also verified with tracing that such optimization does
not happen due to this check in can_align_down():
if (!for_stack && vma->vm_start != addr_to_align)
return false;
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Joel Fernandes (Google) <[email protected]>
Reviewed-by: Lorenzo Stoakes <[email protected]>
Cc: Kalesh Singh <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: Liam R. Howlett <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Lokesh Gidra <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions