summaryrefslogtreecommitdiffstats
path: root/scripts/extract-sys-certs.pl
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2020-06-19 17:17:18 +0200
committerJens Axboe <axboe@kernel.dk>2020-07-16 18:22:15 +0200
commitab96bbab467c884ad684c5f669c91272a0455087 (patch)
tree966c1f220ecc02124e43ec877d6808304c8f0e4e /scripts/extract-sys-certs.pl
parentblock: remove unnecessary ioc nested locking (diff)
downloadlinux-ab96bbab467c884ad684c5f669c91272a0455087.tar.xz
linux-ab96bbab467c884ad684c5f669c91272a0455087.zip
block: remove retry loop in ioc_release_fn()
The reverse-order double lock dance in ioc_release_fn() is using a retry loop. This is a problem on PREEMPT_RT because it could preempt the task that would release q->queue_lock and thus live lock in the retry loop. RCU is already managing the freeing of the request queue and icq. If the trylock fails, use RCU to guarantee that the request queue and icq are not freed and re-acquire the locks in the correct order, allowing forward progress. Signed-off-by: John Ogness <john.ogness@linutronix.de> Reviewed-by: Daniel Wagner <dwagner@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/extract-sys-certs.pl')
0 files changed, 0 insertions, 0 deletions