https://github.com/torvalds/linux
Revision 8629397e6e2753bb4cc62ba48a12e1d4d912b6a4 authored by Jens Axboe on 26 February 2021, 20:46:49 UTC, committed by Jens Axboe on 04 March 2021, 13:34:04 UTC
We want to reuse this completion, and a single complete should do just
fine. Ensure that we park ourselves first if requested, as that is what
lead to the initial deadlock in this area. If we've got someone attempting
to park us, then we can't proceed without having them finish first.

Fixes: 37d1e2e3642e ("io_uring: move SQPOLL thread io-wq forked worker")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent ba50a03
History
Tip revision: 8629397e6e2753bb4cc62ba48a12e1d4d912b6a4 authored by Jens Axboe on 26 February 2021, 20:46:49 UTC
io_uring: don't use complete_all() on SQPOLL thread exit
Tip revision: 8629397
File Mode Size
apparmor
bpf
integrity
keys
loadpin
lockdown
safesetid
selinux
smack
tomoyo
yama
Kconfig -rw-r--r-- 10.7 KB
Kconfig.hardening -rw-r--r-- 8.8 KB
Makefile -rw-r--r-- 1.3 KB
commoncap.c -rw-r--r-- 42.9 KB
device_cgroup.c -rw-r--r-- 21.1 KB
inode.c -rw-r--r-- 10.6 KB
lsm_audit.c -rw-r--r-- 10.9 KB
min_addr.c -rw-r--r-- 1.3 KB
security.c -rw-r--r-- 64.3 KB

back to top