diff options
| author | Tejun Heo <[email protected]> | 2012-02-15 09:45:52 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2012-02-15 09:45:52 +0100 |
| commit | 2274b029f640cd652ab59c363e5beebf5f50e609 (patch) | |
| tree | 652a2e774c537b83cd70481a936f5c7485436491 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | d705ae6b133f9f6a8beee617b1224b6a5c99c5da (diff) | |
block: simplify ioc_release_fn()
Reverse double lock dancing in ioc_release_fn() can be simplified by
just using trylock on the queue_lock and back out from ioc lock on
trylock failure. Simplify it.
Signed-off-by: Tejun Heo <[email protected]>
Tested-by: Shaohua Li <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions