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>
Thu, 12 Aug 2021 17:24:11 +0000 (11:24 -0600)
commit8657d836aaf41a1a8d088ddd13f7183b5e200e04
tree8ef598c8fa0ef6ce1025d1993edd54d5d0fb71ca
parent46989efacb1c21c60537790244947703814be641
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