Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/arm64/mte/
A Dcheck_ksm_options.c20 #define PATH_KSM "/sys/kernel/mm/ksm/" macro
60 write_sysfs(PATH_KSM "merge_across_nodes", 1); in mte_ksm_setup()
62 write_sysfs(PATH_KSM "sleep_millisecs", 0); in mte_ksm_setup()
63 ksm_sysfs[2] = read_sysfs(PATH_KSM "run"); in mte_ksm_setup()
64 write_sysfs(PATH_KSM "run", 1); in mte_ksm_setup()
75 write_sysfs(PATH_KSM "run", ksm_sysfs[2]); in mte_ksm_restore()
88 cur_count = read_sysfs(PATH_KSM "full_scans"); in mte_ksm_scan()
93 read_sysfs(PATH_KSM "pages_shared"), in mte_ksm_scan()
94 read_sysfs(PATH_KSM "pages_sharing")); in mte_ksm_scan()
104 if (access(PATH_KSM, F_OK) == -1) { in check_madvise_options()
[all …]

Completed in 2 milliseconds