Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dksm.c295 static unsigned long ksm_run = KSM_RUN_STOP; variable
2410 return (ksm_run & KSM_RUN_MERGE) && !list_empty(&ksm_mm_head.mm_list); in ksmd_should_run()
2521 if (ksm_run & KSM_RUN_UNMERGE) in __ksm_enter()
2582 !(ksm_run & KSM_RUN_UNMERGE)) in ksm_might_need_to_copy()
2701 while (ksm_run & KSM_RUN_OFFLINE) { in wait_while_offlining()
2703 wait_on_bit(&ksm_run, ilog2(KSM_RUN_OFFLINE), in wait_while_offlining()
2795 ksm_run |= KSM_RUN_OFFLINE; in ksm_memory_callback()
2812 ksm_run &= ~KSM_RUN_OFFLINE; in ksm_memory_callback()
2816 wake_up_bit(&ksm_run, ilog2(KSM_RUN_OFFLINE)); in ksm_memory_callback()
2888 return sprintf(buf, "%lu\n", ksm_run); in run_show()
[all …]