]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: remove IRQ aspect of io_ring_ctx completion lock
authorJens Axboe <axboe@kernel.dk>
Tue, 10 Aug 2021 21:18:27 +0000 (15:18 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Aug 2021 19:10:32 +0000 (13:10 -0600)
commit673bba539b01b2308d297baa475e03bc4e211bea
tree305bd192c3bf739fe89a2c86f627c4f6b85aa675
parentfaa3700533e3454f49546ca658272f378ff9d69d
io_uring: remove IRQ aspect of io_ring_ctx completion lock

We have no hard/soft IRQ users of this lock left, remove any IRQ
disabling/saving and restoring when grabbing this lock.

This is straight forward with no users entering with IRQs disabled
anymore, the only thing to look out for is the waitqueue poll head
lock which nests inside the completion lock. That needs IRQs disabled,
and hence we have to do that now instead of relying on the outer lock
doing so.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c