aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorDev Jain <[email protected]>2025-06-20 11:11:50 +0000
committerAndrew Morton <[email protected]>2025-06-25 22:55:04 +0000
commit7c942f87cc0be5699b1ce434d369eccd8b5321d4 (patch)
treef3747772f8ad99116fe2418e1c324a823fcbd291 /tools/perf/scripts/python/mem-phys-addr.py
parentcrashdump: add CONFIG_KEYS dependency (diff)
downloadkernel-7c942f87cc0be5699b1ce434d369eccd8b5321d4.tar.gz
kernel-7c942f87cc0be5699b1ce434d369eccd8b5321d4.zip
selftests/mm: fix validate_addr() helper
validate_addr() checks whether the address returned by mmap() lies in the low or high VA space, according to whether a high addr hint was passed or not. The fix commit mentioned below changed the code in such a way that this function will always return failure when passed high_addr == 1; addr will be >= HIGH_ADDR_MARK always, we will fall down to "if (addr > HIGH_ADDR_MARK)" and return failure. Fix this. Link: https://lkml.kernel.org/r/[email protected] Fixes: d1d86ce28d0f ("selftests/mm: virtual_address_range: conform to TAP format output") Signed-off-by: Dev Jain <[email protected]> Reviewed-by: Donet Tom <[email protected]> Acked-by: David Hildenbrand <[email protected]> Cc: Anshuman Khandual <[email protected]> Cc: Lorenzo Stoakes <[email protected]> Cc: Ryan Roberts <[email protected]> Cc: Shuah Khan <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions