aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorXiang Chen <chenxiang66@hisilicon.com>2018-05-09 23:10:47 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2018-05-18 11:22:09 -0400
commit3de0026dad6b8e83d8a699aef92638c50ba966f7 (patch)
treebbd8ebdc5ab358990fb10b5e7b3745f50db01fbc /tools/perf/scripts/python/call-graph-from-sql.py
parentscsi: hisi_sas: make return type of prep functions void (diff)
downloadlinux-3de0026dad6b8e83d8a699aef92638c50ba966f7.tar.gz
linux-3de0026dad6b8e83d8a699aef92638c50ba966f7.zip
scsi: hisi_sas: allocate slot buffer earlier
Currently we allocate the slot's memory buffer after allocating the DQ slot. To aid DQ lockout reduction, and allow slots to be built in parallel, move this step (which can fail) prior to allocating the slot. Also a stray spin_unlock_irqrestore() is removed from internal task exec function. 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/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions