]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blobdiff - mm/slab.c
slab, workqueue: remove keventd_up() usage
[mirror_ubuntu-eoan-kernel.git] / mm / slab.c
index b67271024135aff957f1361c3e327da41915b4c2..dc69b6b625b10643ac6e77431a2bf1c167daef2a 100644 (file)
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -550,12 +550,7 @@ static void start_cpu_timer(int cpu)
 {
        struct delayed_work *reap_work = &per_cpu(slab_reap_work, cpu);
 
-       /*
-        * When this gets called from do_initcalls via cpucache_init(),
-        * init_workqueues() has already run, so keventd will be setup
-        * at that time.
-        */
-       if (keventd_up() && reap_work->work.func == NULL) {
+       if (reap_work->work.func == NULL) {
                init_reap_node(cpu);
                INIT_DEFERRABLE_WORK(reap_work, cache_reap);
                schedule_delayed_work_on(cpu, reap_work,