diff options
author | Nicholas Bellinger <[email protected]> | 2013-06-06 01:40:27 -0700 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2013-06-20 14:10:42 -0700 |
commit | 1a398b973184342f30ab97711b9c38fd75df0384 (patch) | |
tree | 99670422b8145b921a2561d780f26d4db4ed6488 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | c1c35d52251b0941a72b0cdb862e85f0eba6b1bb (diff) |
target: Avoid extra t_state_lock access in __target_execute_cmd
This patch makes target_execute_cmd() set CMD_T_BUSY|CMD_T_SENT while
holding se_cmd->t_state_lock, in order to avoid the extra aquire/release
in __target_execute_cmd().
It also clears these bits in case of a target_handle_task_attr()
failure.
Cc: Christoph Hellwig <[email protected]>
Cc: Roland Dreier <[email protected]>
Cc: Kent Overstreet <[email protected]>
Cc: Or Gerlitz <[email protected]>
Cc: Moussa Ba <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions