aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorXiang Chen <[email protected]>2017-06-14 23:33:13 +0800
committerMartin K. Petersen <[email protected]>2017-06-19 21:31:25 -0400
commitb1a49412f0aed757e7632f9276acdf2fb8f3832e (patch)
treec01e56696192ee4672f747ce53c49daaabc5ec55 /tools/perf/scripts/python
parentad6048325c7807818c6c49e485660143d97a622e (diff)
scsi: hisi_sas: optimise the usage of hisi_hba.lock
Currently hisi_hba.lock is locked to deliver and receive a command to/from any hw queue. This causes much contention at high data-rates. To boost performance, lock on a per queue basis for sending and receiving commands to/from hw. Certain critical regions still need to be locked in the delivery and completion stages with hisi_hba.lock. New element hisi_sas_device.dq is added to store the delivery queue for a device, so it does not need to be needlessly re-calculated for every task. Signed-off-by: Xiang Chen <[email protected]> Signed-off-by: John Garry <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions