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 13:11:59 +0000 (07:11 -0600)
commit0a3e972d20496c80a1582f7d17c9e868f54d5bc5
treec16c8b06a0aa92f6835199b75ed20ab04bc4f213
parent15ed231554a2f314e0eb7fe827fe4ac838db88d1
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