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>
Wed, 11 Aug 2021 22:35:58 +0000 (16:35 -0600)
commitc7807a1a49f9bd0a1be8f80fddb039368c8a2348
tree2938357cdb6a3b79e10e6496168f22fcda950c47
parenta9ee41bff8dac2e657811d1df61525ebff00b7b5
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