]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests/mm: deduplicate second mmap() of 5*PAGE_SIZE at base
authorMark Brown <broonie@kernel.org>
Sun, 18 May 2025 14:04:42 +0000 (15:04 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 22 May 2025 21:55:37 +0000 (14:55 -0700)
commit5fc4b770fc35c05874dd2dd5bf1f03d354025b62
tree5cc1d39d74ce57aff1cf8c393b1e23e9a7329f04
parent6669d1aaa0c45a50a4cc5f1756ab03578eaebd18
selftests/mm: deduplicate second mmap() of 5*PAGE_SIZE at base

The map_fixed_noreplace test does two blocks of test starting from a
mapping of 5 pages at the base address, logging a test result for each
initial mapping.  These are logged with the same test name, causing test
automation software to see two reports for the same test in a single run.
Tweak the log message for the second one to deduplicate.

Link: https://lkml.kernel.org/r/20250518-selftests-mm-map-fixed-noreplace-dup-v1-1-1a11a62c5e9f@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/mm/map_fixed_noreplace.c