Lines Matching refs:kcompactd
2796 static int kcompactd(void *p) in kcompactd() function
2858 if (pgdat->kcompactd) in kcompactd_run()
2861 pgdat->kcompactd = kthread_run(kcompactd, pgdat, "kcompactd%d", nid); in kcompactd_run()
2862 if (IS_ERR(pgdat->kcompactd)) { in kcompactd_run()
2864 ret = PTR_ERR(pgdat->kcompactd); in kcompactd_run()
2865 pgdat->kcompactd = NULL; in kcompactd_run()
2876 struct task_struct *kcompactd = NODE_DATA(nid)->kcompactd; in kcompactd_stop() local
2878 if (kcompactd) { in kcompactd_stop()
2879 kthread_stop(kcompactd); in kcompactd_stop()
2880 NODE_DATA(nid)->kcompactd = NULL; in kcompactd_stop()
2902 set_cpus_allowed_ptr(pgdat->kcompactd, mask); in kcompactd_cpu_online()