aboutsummaryrefslogtreecommitdiff
path: root/mm/compaction.c
diff options
context:
space:
mode:
authorGravatar Adam Sindelar <adam@wowsignal.io> 2022-07-04 14:38:13 +0200
committerGravatar akpm <akpm@linux-foundation.org> 2022-07-29 18:07:14 -0700
commitac3ced5fc12fb3d7268054485cbc36441c05cf24 (patch)
tree8021e39bc0d1927b836800eef35c003a3d33d4c7 /mm/compaction.c
parentselftests/vm: fix errno handling in mrelease_test (diff)
downloadlinux-ac3ced5fc12fb3d7268054485cbc36441c05cf24.tar.gz
linux-ac3ced5fc12fb3d7268054485cbc36441c05cf24.tar.bz2
linux-ac3ced5fc12fb3d7268054485cbc36441c05cf24.zip
selftests/vm: skip 128TBswitch on unsupported arch
The test va_128TBswitch.c exercises a feature only supported on PPC and x86_64, but it's run on other 64-bit archs as well. Before this patch, the test did nothing and returned 0 for KSFT_PASS. This patch makes it return the KSFT codes from kselftest.h, including KSFT_SKIP when appropriate. Verified on arm64 and x86_64. Link: https://lkml.kernel.org/r/20220704123813.427625-1-adam@wowsignal.io Signed-off-by: Adam Sindelar <adam@wowsignal.io> Cc: David Vernet <void@manifault.com> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/compaction.c')
0 files changed, 0 insertions, 0 deletions