diff options
| author | Xiang Chen <chenxiang66@hisilicon.com> | 2017-06-14 23:33:13 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-06-19 21:31:25 -0400 |
| commit | b1a49412f0aed757e7632f9276acdf2fb8f3832e (patch) | |
| tree | c01e56696192ee4672f747ce53c49daaabc5ec55 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | scsi: hisi_sas: define hisi_sas_device.device_id as int (diff) | |
| download | linux-b1a49412f0aed757e7632f9276acdf2fb8f3832e.tar.gz linux-b1a49412f0aed757e7632f9276acdf2fb8f3832e.zip | |
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 <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
