• Tejun Heo's avatar
    workqueue: Drop unnecessary kick_pool() in create_worker() · 6a229b0e
    Tejun Heo authored
    After creating a new worker, create_worker() is calling kick_pool() to wake
    up the new worker task. However, as kick_pool() doesn't do anything if there
    is no work pending, it also calls wake_up_process() explicitly. There's no
    reason to call kick_pool() at all. wake_up_process() is enough by itself.
    Drop the unnecessary kick_pool() call.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    6a229b0e
workqueue.c 192 KB