Home
last modified time | relevance | path

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

/mm/
Dksm.c292 static unsigned long ksm_run = KSM_RUN_STOP; variable
2397 return (ksm_run & KSM_RUN_MERGE) && !list_empty(&ksm_mm_head.mm_list); in ksmd_should_run()
2508 if (ksm_run & KSM_RUN_UNMERGE) in __ksm_enter()
2569 !(ksm_run & KSM_RUN_UNMERGE)) in ksm_might_need_to_copy()
2694 while (ksm_run & KSM_RUN_OFFLINE) { in wait_while_offlining()
2696 wait_on_bit(&ksm_run, ilog2(KSM_RUN_OFFLINE), in wait_while_offlining()
2788 ksm_run |= KSM_RUN_OFFLINE; in ksm_memory_callback()
2805 ksm_run &= ~KSM_RUN_OFFLINE; in ksm_memory_callback()
2809 wake_up_bit(&ksm_run, ilog2(KSM_RUN_OFFLINE)); in ksm_memory_callback()
2881 return sysfs_emit(buf, "%lu\n", ksm_run); in run_show()
[all …]