On 08/12/2020 22:42, Jens Axboe wrote: > On 12/8/20 2:57 PM, Pavel Begunkov wrote: >> Basic testing for IORING_OP_REMOVE_BUFFERS. test_rem_buf(IOSQE_ASYNC) >> should check that it's doing locking right when punted async. >> >> Signed-off-by: Pavel Begunkov <asml.silence@xxxxxxxxx> >> --- >> >> NOTICE: >> test_rem_buf(IOSQE_ASYNC) hangs with 5.10 >> because of double io_ring_submit_lock(). One of the iopoll patches >> for 5.11 fixes that. > > Let's get just that into 5.10, and then we can fix up 5.11 around that. If you mean get that kernel patch, then it's the one I commented on yesterday. [2/5] io_uring: fix racy IOPOLL completion Either can split this test -- Pavel Begunkov