aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2019-01-15 11:59:52 +0800
committerLinus Torvalds <[email protected]>2019-01-15 16:29:57 +1200
commitfe76fc6aaf538df27708ffa3e5d549a6c8e16142 (patch)
tree4fda8ebbcb82694899a476026684951e25d9b853 /net/lapb/lapb_in.c
parent3719876809e745b9db5293d418600c194bbf5c23 (diff)
sbitmap: Protect swap_lock from hardirq
Because we may call blk_mq_get_driver_tag() directly from blk_mq_dispatch_rq_list() without holding any lock, then HARDIRQ may come and the above DEADLOCK is triggered. Commit ab53dcfb3e7b ("sbitmap: Protect swap_lock from hardirq") tries to fix this issue by using 'spin_lock_bh', which isn't enough because we complete request from hardirq context direclty in case of multiqueue. Cc: Clark Williams <[email protected]> Fixes: ab53dcfb3e7b ("sbitmap: Protect swap_lock from hardirq") Cc: Jens Axboe <[email protected]> Cc: Ming Lei <[email protected]> Cc: Guenter Roeck <[email protected]> Cc: Steven Rostedt (VMware) <[email protected]> Signed-off-by: Ming Lei <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions