File tree Expand file tree Collapse file tree 6 files changed +1478
-0
lines changed
tools/testing/selftests/vm Expand file tree Collapse file tree 6 files changed +1478
-0
lines changed Original file line number Diff line number Diff line change @@ -16,3 +16,4 @@ gup_benchmark
16
16
va_128TBswitch
17
17
map_fixed_noreplace
18
18
write_to_hugetlbfs
19
+ hmm-tests
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ CFLAGS = -Wall -I ../../../../usr/include $(EXTRA_CFLAGS)
7
7
LDLIBS = -lrt
8
8
TEST_GEN_FILES = compaction_test
9
9
TEST_GEN_FILES += gup_benchmark
10
+ TEST_GEN_FILES += hmm-tests
10
11
TEST_GEN_FILES += hugepage-mmap
11
12
TEST_GEN_FILES += hugepage-shm
12
13
TEST_GEN_FILES += map_hugetlb
@@ -33,6 +34,8 @@ TEST_FILES := test_vmalloc.sh
33
34
KSFT_KHDR_INSTALL := 1
34
35
include ../lib.mk
35
36
37
+ $(OUTPUT ) /hmm-tests : LDLIBS += -lhugetlbfs -lpthread
38
+
36
39
$(OUTPUT ) /userfaultfd : LDLIBS += -lpthread
37
40
38
41
$(OUTPUT ) /mlock-random-test : LDLIBS += -lcap
Original file line number Diff line number Diff line change 1
1
CONFIG_SYSVIPC=y
2
2
CONFIG_USERFAULTFD=y
3
3
CONFIG_TEST_VMALLOC=m
4
+ CONFIG_DEVICE_PRIVATE=y
5
+ CONFIG_TEST_HMM=m
You can’t perform that action at this time.
0 commit comments