]> git.baikalelectronics.ru Git - kernel.git/commit
io-wq: remove worker->wait waitqueue
authorJens Axboe <axboe@kernel.dk>
Sun, 8 Dec 2019 04:03:59 +0000 (21:03 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Dec 2019 23:33:22 +0000 (16:33 -0700)
commita07243b8450488f09bd9be098de368cfd91b997b
treeaf3a2a77e277a3ad4cda2075dfd70827e468c47e
parentf4b32a27fed18c91c6c900869063671a85fa842d
io-wq: remove worker->wait waitqueue

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: Jens Axboe <axboe@kernel.dk>
fs/io-wq.c