aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/msg.c
diff options
context:
space:
mode:
authorAmber Lin <[email protected]>2021-06-07 18:46:21 +0000
committerAlex Deucher <[email protected]>2021-06-15 21:25:42 +0000
commita7b2451d31cfa2e8aeccf3b35612ce33f02371fc (patch)
treef4d542441346f99960cc2aa98aa03a4b481f1c25 /net/tipc/msg.c
parentdrm/amdgpu: Use spinlock_irqsave for pasid_lock (diff)
downloadkernel-a7b2451d31cfa2e8aeccf3b35612ce33f02371fc.tar.gz
kernel-a7b2451d31cfa2e8aeccf3b35612ce33f02371fc.zip
drm/amdkfd: Fix circular lock in nocpsch path
Calling free_mqd inside of destroy_queue_nocpsch_locked can cause a circular lock. destroy_queue_nocpsch_locked is called under a DQM lock, which is taken in MMU notifiers, potentially in FS reclaim context. Taking another lock, which is BO reservation lock from free_mqd, while causing an FS reclaim inside the DQM lock creates a problematic circular lock dependency. Therefore move free_mqd out of destroy_queue_nocpsch_locked and call it after unlocking DQM. Signed-off-by: Amber Lin <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'net/tipc/msg.c')
0 files changed, 0 insertions, 0 deletions