File tree Expand file tree Collapse file tree 4 files changed +1237
-0
lines changed Expand file tree Collapse file tree 4 files changed +1237
-0
lines changed Original file line number Diff line number Diff line change @@ -2201,6 +2201,19 @@ config TEST_MEMINIT
2201
2201
2202
2202
If unsure, say N.
2203
2203
2204
+ config TEST_HMM
2205
+ tristate "Test HMM (Heterogeneous Memory Management)"
2206
+ depends on TRANSPARENT_HUGEPAGE
2207
+ depends on DEVICE_PRIVATE
2208
+ select HMM_MIRROR
2209
+ select MMU_NOTIFIER
2210
+ help
2211
+ This is a pseudo device driver solely for testing HMM.
2212
+ Say M here if you want to build the HMM test module.
2213
+ Doing so will allow you to run tools/testing/selftest/vm/hmm-tests.
2214
+
2215
+ If unsure, say N.
2216
+
2204
2217
endif # RUNTIME_TESTING_MENU
2205
2218
2206
2219
config MEMTEST
Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ obj-$(CONFIG_TEST_STACKINIT) += test_stackinit.o
92
92
obj-$(CONFIG_TEST_BLACKHOLE_DEV) += test_blackhole_dev.o
93
93
obj-$(CONFIG_TEST_MEMINIT) += test_meminit.o
94
94
obj-$(CONFIG_TEST_LOCKUP) += test_lockup.o
95
+ obj-$(CONFIG_TEST_HMM) += test_hmm.o
95
96
96
97
obj-$(CONFIG_TEST_LIVEPATCH) += livepatch/
97
98
You can’t perform that action at this time.
0 commit comments