]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/mm: reduce uffd-unit-test poison test to minimum
authorPeter Xu <peterx@redhat.com>
Fri, 20 Jun 2025 15:00:58 +0000 (11:00 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 10 Jul 2025 05:42:20 +0000 (22:42 -0700)
commitab7ed56a03ce0196260bc29ab844eb4e54afee66
tree807e01c94814ee17b81f472ee2890fd2d8e8a30d
parent592b939b59b43a817ce6d79900793982d452bb5d
selftests/mm: reduce uffd-unit-test poison test to minimum

The test will still generate quite some unwanted MCE error messages to
syslog.  There was old proposal ratelimiting the MCE messages from kernel,
but that has risk of hiding real useful information on production systems.

We can at least reduce the test to minimum to not over-pollute dmesg,
however trying to not lose its coverage too much.

[peterx@redhat.com: reduce uffd-unit-test poison test to minimum]
Link: https://lkml.kernel.org/r/aF2RSsjuEOtzXcUa@x1.local
Link: https://lkml.kernel.org/r/20250620150058.1729489-1-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Brendan Jackman <jackmanb@google.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Shuah Khan <shuah@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/selftests/mm/uffd-unit-tests.c