aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorAlexander Duyck <[email protected]>2013-03-22 15:04:48 -0700
committerLinus Torvalds <[email protected]>2013-03-22 16:41:20 -0700
commit8d640a51ec9e9cdefa680b67ad55f933eefc5923 (patch)
treec8e8964a54f42a529fceb6ef80590592d13bf68d /tools/perf/util/trace-event-scripting.c
parent0ef1594c017521ea89278e80fe3f80dafb17abde (diff)
dma-debug: fix locking bug in check_unmap()
In check_unmap() it is possible to get into a dead-locked state if dma_mapping_error is called. The problem is that the bucket is locked in check_unmap, and locked again by debug_dma_mapping_error which is called by dma_mapping_error. To resolve that we must release the lock on the bucket before making the call to dma_mapping_error. [[email protected]: restore 80-col trickery to be consistent with the rest of the file] Signed-off-by: Alexander Duyck <[email protected]> Cc: Joerg Roedel <[email protected]> Reviewed-by: Shuah Khan <[email protected]> Tested-by: Shuah Khan <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Konrad Rzeszutek Wilk <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions