Home
last modified time | relevance | path

Searched refs:ksm_sysfs (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/tools/testing/selftests/arm64/mte/
Dcheck_ksm_options.c24 static unsigned long ksm_sysfs[5]; variable
56 ksm_sysfs[0] = read_sysfs(PATH_KSM "merge_across_nodes"); in mte_ksm_setup()
58 ksm_sysfs[1] = read_sysfs(PATH_KSM "sleep_millisecs"); in mte_ksm_setup()
60 ksm_sysfs[2] = read_sysfs(PATH_KSM "run"); in mte_ksm_setup()
62 ksm_sysfs[3] = read_sysfs(PATH_KSM "max_page_sharing"); in mte_ksm_setup()
63 write_sysfs(PATH_KSM "max_page_sharing", ksm_sysfs[3] + TEST_UNIT); in mte_ksm_setup()
64 ksm_sysfs[4] = read_sysfs(PATH_KSM "pages_to_scan"); in mte_ksm_setup()
65 write_sysfs(PATH_KSM "pages_to_scan", ksm_sysfs[4] + TEST_UNIT); in mte_ksm_setup()
70 write_sysfs(PATH_KSM "merge_across_nodes", ksm_sysfs[0]); in mte_ksm_restore()
71 write_sysfs(PATH_KSM "sleep_millisecs", ksm_sysfs[1]); in mte_ksm_restore()
[all …]
/Linux-v5.10/Documentation/admin-guide/mm/
Dksm.rst25 intraface <ksm_sysfs>`