Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/arm64/mte/
Dcheck_ksm_options.c41 static void write_sysfs(char *str, unsigned long val) in write_sysfs() function
57 write_sysfs(PATH_KSM "merge_across_nodes", 1); in mte_ksm_setup()
59 write_sysfs(PATH_KSM "sleep_millisecs", 0); in mte_ksm_setup()
61 write_sysfs(PATH_KSM "run", 1); in mte_ksm_setup()
63 write_sysfs(PATH_KSM "max_page_sharing", ksm_sysfs[3] + TEST_UNIT); 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()
72 write_sysfs(PATH_KSM "run", ksm_sysfs[2]); in mte_ksm_restore()
73 write_sysfs(PATH_KSM "max_page_sharing", ksm_sysfs[3]); in mte_ksm_restore()
[all …]