aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorXiang Chen <chenxiang66@hisilicon.com>2018-05-09 23:10:45 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2018-05-18 11:22:09 -0400
commit7eee4b921822addfb67c2ced5772f003bb083520 (patch)
tree36f15157742d5f3a35239bd37b3dba64e9872bd7 /tools/perf/scripts/python/export-to-sqlite.py
parentscsi: ufs: make ufshcd_config_pwr_mode of non-static func (diff)
downloadlinux-7eee4b921822addfb67c2ced5772f003bb083520.tar.gz
linux-7eee4b921822addfb67c2ced5772f003bb083520.zip
scsi: hisi_sas: relocate smp sg map
Currently we use DQ lock to protect delivery of DQ entry one by one. To optimise to allow more than one slot to be built for a single DQ in parallel, we need to remove the DQ lock when preparing slots, prior to delivery. To achieve this, we rearrange the slot build order to ensure that once we allocate a slot for a task, we do cannot fail to deliver the task. In this patch, we rearrange the slot building for SMP tasks to ensure that sg mapping part (which can fail) happens before we allocate the slot in the DQ. 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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions