mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
selftests/vm: rename selftests/vm to selftests/mm
Rename selftets/vm to selftests/mm for being more consistent with the code, documentation, and tools directories, and won't be confused with virtual machines. [sj@kernel.org: convert missing vm->mm changes] Link: https://lkml.kernel.org/r/20230107230643.252273-1-sj@kernel.org Link: https://lkml.kernel.org/r/20230103180754.129637-5-sj@kernel.org Signed-off-by: SeongJae Park <sj@kernel.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Shuah Khan <shuah@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
799fb82aa1
commit
baa489fabd
@ -461,13 +461,13 @@ Examples
|
||||
.. _map_hugetlb:
|
||||
|
||||
``map_hugetlb``
|
||||
see tools/testing/selftests/vm/map_hugetlb.c
|
||||
see tools/testing/selftests/mm/map_hugetlb.c
|
||||
|
||||
``hugepage-shm``
|
||||
see tools/testing/selftests/vm/hugepage-shm.c
|
||||
see tools/testing/selftests/mm/hugepage-shm.c
|
||||
|
||||
``hugepage-mmap``
|
||||
see tools/testing/selftests/vm/hugepage-mmap.c
|
||||
see tools/testing/selftests/mm/hugepage-mmap.c
|
||||
|
||||
The `libhugetlbfs`_ library provides a wide range of userspace tools
|
||||
to help with huge page usability, environment setup, and control.
|
||||
|
@ -221,7 +221,7 @@ Unit testing
|
||||
============
|
||||
This file::
|
||||
|
||||
tools/testing/selftests/vm/gup_test.c
|
||||
tools/testing/selftests/mm/gup_test.c
|
||||
|
||||
has the following new calls to exercise the new pin*() wrapper functions:
|
||||
|
||||
|
@ -9466,7 +9466,7 @@ F: Documentation/mm/hmm.rst
|
||||
F: include/linux/hmm*
|
||||
F: lib/test_hmm*
|
||||
F: mm/hmm*
|
||||
F: tools/testing/selftests/vm/*hmm*
|
||||
F: tools/testing/selftests/mm/*hmm*
|
||||
|
||||
HOST AP DRIVER
|
||||
M: Jouni Malinen <j@w1.fi>
|
||||
@ -13484,7 +13484,7 @@ F: include/linux/mmzone.h
|
||||
F: include/linux/pagewalk.h
|
||||
F: mm/
|
||||
F: tools/mm/
|
||||
F: tools/testing/selftests/vm/
|
||||
F: tools/testing/selftests/mm/
|
||||
|
||||
VMALLOC
|
||||
M: Andrew Morton <akpm@linux-foundation.org>
|
||||
|
@ -1073,7 +1073,7 @@ config GUP_TEST
|
||||
pin_user_pages*(), or pinned via get_user_pages*(), as specified
|
||||
by other command line arguments.
|
||||
|
||||
See tools/testing/selftests/vm/gup_test.c
|
||||
See tools/testing/selftests/mm/gup_test.c
|
||||
|
||||
comment "GUP_TEST needs to have DEBUG_FS enabled"
|
||||
depends on !GUP_TEST && !DEBUG_FS
|
||||
|
@ -85,7 +85,7 @@ TARGETS += tmpfs
|
||||
TARGETS += tpm2
|
||||
TARGETS += user
|
||||
TARGETS += vDSO
|
||||
TARGETS += vm
|
||||
TARGETS += mm
|
||||
TARGETS += x86
|
||||
TARGETS += zram
|
||||
#Please keep the TARGETS list alphabetically sorted
|
||||
|
@ -12,9 +12,9 @@ usage()
|
||||
|
||||
echo -e "Usage: $0 -[p] <compiler> [test_name]\n"
|
||||
echo -e "\tkselftest_deps.sh [-p] gcc"
|
||||
echo -e "\tkselftest_deps.sh [-p] gcc vm"
|
||||
echo -e "\tkselftest_deps.sh [-p] gcc mm"
|
||||
echo -e "\tkselftest_deps.sh [-p] aarch64-linux-gnu-gcc"
|
||||
echo -e "\tkselftest_deps.sh [-p] aarch64-linux-gnu-gcc vm\n"
|
||||
echo -e "\tkselftest_deps.sh [-p] aarch64-linux-gnu-gcc mm\n"
|
||||
echo "- Should be run in selftests directory in the kernel repo."
|
||||
echo "- Checks if Kselftests can be built/cross-built on a system."
|
||||
echo "- Parses all test/sub-test Makefile to find library dependencies."
|
||||
@ -120,7 +120,7 @@ l1_tests=$(grep -r --include=Makefile "^LDLIBS" | \
|
||||
# Level 2
|
||||
# Some tests have multiple valid LDLIBS lines for individual sub-tests
|
||||
# that need dependency checks. Find them and append them to the tests
|
||||
# e.g: vm/Makefile:$(OUTPUT)/userfaultfd: LDLIBS += -lpthread
|
||||
# e.g: mm/Makefile:$(OUTPUT)/userfaultfd: LDLIBS += -lpthread
|
||||
# Filter out VAR_LDLIBS to discard the following:
|
||||
# memfd/Makefile:$(OUTPUT)/fuse_mnt: LDLIBS += $(VAR_LDLIBS)
|
||||
# Append space at the end of the list to append more tests.
|
||||
|
@ -1,7 +1,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Makefile for vm selftests
|
||||
# Makefile for mm selftests
|
||||
|
||||
LOCAL_HDRS += $(selfdir)/vm/local_config.h $(top_srcdir)/mm/gup_test.h
|
||||
LOCAL_HDRS += $(selfdir)/mm/local_config.h $(top_srcdir)/mm/gup_test.h
|
||||
|
||||
include local_config.mk
|
||||
|
0
tools/testing/selftests/vm/run_vmtests.sh → tools/testing/selftests/mm/run_vmtests.sh
Executable file → Normal file
0
tools/testing/selftests/vm/run_vmtests.sh → tools/testing/selftests/mm/run_vmtests.sh
Executable file → Normal file
0
tools/testing/selftests/vm/test_hmm.sh → tools/testing/selftests/mm/test_hmm.sh
Executable file → Normal file
0
tools/testing/selftests/vm/test_hmm.sh → tools/testing/selftests/mm/test_hmm.sh
Executable file → Normal file
0
tools/testing/selftests/vm/test_vmalloc.sh → tools/testing/selftests/mm/test_vmalloc.sh
Executable file → Normal file
0
tools/testing/selftests/vm/test_vmalloc.sh → tools/testing/selftests/mm/test_vmalloc.sh
Executable file → Normal file
0
tools/testing/selftests/vm/va_128TBswitch.sh → tools/testing/selftests/mm/va_128TBswitch.sh
Executable file → Normal file
0
tools/testing/selftests/vm/va_128TBswitch.sh → tools/testing/selftests/mm/va_128TBswitch.sh
Executable file → Normal file
Loading…
Reference in New Issue
Block a user