• Jens Axboe's avatar
    io-wq: remove worker->wait waitqueue · 506d95ff
    Jens Axboe authored
    We only have one cases of using the waitqueue to wake the worker, the
    rest are using wake_up_process(). Since we can save some cycles not
    fiddling with the waitqueue io_wqe_worker(), switch the work activation
    to task wakeup and get rid of the now unused wait_queue_head_t in
    struct io_worker.
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    506d95ff
io-wq.c 25.9 KB