Kconfig (9c84f229268fa229e250b7225611d0eb7094fea0) | Kconfig (f4f9bda418ab8b4dbc5372e9e2a28162f7777154) |
---|---|
1# SPDX-License-Identifier: GPL-2.0-only 2 3menu "Memory Management options" 4 5config SELECT_MEMORY_MODEL 6 def_bool y 7 depends on ARCH_SELECT_MEMORY_MODEL 8 --- 818 unchanged lines hidden (view full) --- 827 Provides /sys/kernel/debug/gup_test, which in turn provides a way 828 to make ioctl calls that can launch kernel-based unit tests for 829 the get_user_pages*() and pin_user_pages*() family of API calls. 830 831 These tests include benchmark testing of the _fast variants of 832 get_user_pages*() and pin_user_pages*(), as well as smoke tests of 833 the non-_fast variants. 834 | 1# SPDX-License-Identifier: GPL-2.0-only 2 3menu "Memory Management options" 4 5config SELECT_MEMORY_MODEL 6 def_bool y 7 depends on ARCH_SELECT_MEMORY_MODEL 8 --- 818 unchanged lines hidden (view full) --- 827 Provides /sys/kernel/debug/gup_test, which in turn provides a way 828 to make ioctl calls that can launch kernel-based unit tests for 829 the get_user_pages*() and pin_user_pages*() family of API calls. 830 831 These tests include benchmark testing of the _fast variants of 832 get_user_pages*() and pin_user_pages*(), as well as smoke tests of 833 the non-_fast variants. 834 |
835 There is also a sub-test that allows running dump_page() on any 836 of up to eight pages (selected by command line args) within the 837 range of user-space addresses. These pages are either pinned via 838 pin_user_pages*(), or pinned via get_user_pages*(), as specified 839 by other command line arguments. 840 |
|
835 See tools/testing/selftests/vm/gup_test.c 836 837config GUP_GET_PTE_LOW_HIGH 838 bool 839 840config READ_ONLY_THP_FOR_FS 841 bool "Read-only THP for filesystems (EXPERIMENTAL)" 842 depends on TRANSPARENT_HUGEPAGE && SHMEM --- 25 unchanged lines hidden --- | 841 See tools/testing/selftests/vm/gup_test.c 842 843config GUP_GET_PTE_LOW_HIGH 844 bool 845 846config READ_ONLY_THP_FOR_FS 847 bool "Read-only THP for filesystems (EXPERIMENTAL)" 848 depends on TRANSPARENT_HUGEPAGE && SHMEM --- 25 unchanged lines hidden --- |