mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 23:00:21 +00:00
selftests/mm: rename va_128TBswitch to va_high_addr_switch
As the initial selftest only took into consideration PowperPC and x86 architectures, on adding support for arm64, a platform independent naming convention is chosen. Link: https://lkml.kernel.org/r/20230323105243.2807166-3-chaitanyas.prakash@arm.com Signed-off-by: Chaitanya S Prakash <chaitanyas.prakash@arm.com> Cc: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Shuah Khan <shuah@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
cd834afa8e
commit
bbe168729d
@ -94,7 +94,7 @@ endif
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter $(MACHINE),arm64 ia64 mips64 parisc64 ppc64 riscv64 s390x sh64 sparc64 x86_64))
|
ifneq (,$(filter $(MACHINE),arm64 ia64 mips64 parisc64 ppc64 riscv64 s390x sh64 sparc64 x86_64))
|
||||||
TEST_GEN_PROGS += va_128TBswitch
|
TEST_GEN_PROGS += va_high_addr_switch
|
||||||
TEST_GEN_PROGS += virtual_address_range
|
TEST_GEN_PROGS += virtual_address_range
|
||||||
TEST_GEN_PROGS += write_to_hugetlbfs
|
TEST_GEN_PROGS += write_to_hugetlbfs
|
||||||
endif
|
endif
|
||||||
@ -103,7 +103,7 @@ TEST_PROGS := run_vmtests.sh
|
|||||||
|
|
||||||
TEST_FILES := test_vmalloc.sh
|
TEST_FILES := test_vmalloc.sh
|
||||||
TEST_FILES += test_hmm.sh
|
TEST_FILES += test_hmm.sh
|
||||||
TEST_FILES += va_128TBswitch.sh
|
TEST_FILES += va_high_addr_switch.sh
|
||||||
|
|
||||||
include ../lib.mk
|
include ../lib.mk
|
||||||
|
|
||||||
|
@ -237,7 +237,7 @@ if [ $VADDR64 -ne 0 ]; then
|
|||||||
echo $prev_policy > /proc/sys/vm/overcommit_memory
|
echo $prev_policy > /proc/sys/vm/overcommit_memory
|
||||||
|
|
||||||
# virtual address 128TB switch test
|
# virtual address 128TB switch test
|
||||||
CATEGORY="hugevm" run_test ./va_128TBswitch.sh
|
CATEGORY="hugevm" run_test ./va_high_addr_switch.sh
|
||||||
fi # VADDR64
|
fi # VADDR64
|
||||||
|
|
||||||
# vmalloc stability smoke test
|
# vmalloc stability smoke test
|
||||||
|
@ -51,4 +51,4 @@ check_test_requirements()
|
|||||||
}
|
}
|
||||||
|
|
||||||
check_test_requirements
|
check_test_requirements
|
||||||
./va_128TBswitch
|
./va_high_addr_switch
|
Loading…
x
Reference in New Issue
Block a user