aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorXiang Chen <[email protected]>2018-05-09 23:10:45 +0800
committerMartin K. Petersen <[email protected]>2018-05-18 11:22:09 -0400
commit7eee4b921822addfb67c2ced5772f003bb083520 (patch)
tree36f15157742d5f3a35239bd37b3dba64e9872bd7 /tools/perf/scripts/python/stat-cpi.py
parent0d846e703dc8b77d31cc71e0bd8d004f187eac30 (diff)
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 <[email protected]> Signed-off-by: John Garry <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions