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)
commit79ebeaee8a21a00417d89f1a02019f79840d9bad
tree305bd192c3bf739fe89a2c86f627c4f6b85aa675
parent8ef12efe26c8e44323011e57753b8c0e87af1582
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