aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorXiang Chen <[email protected]>2019-08-05 21:48:04 +0800
committerMartin K. Petersen <[email protected]>2019-08-07 22:13:15 -0400
commitd380f55503ed28461422546900baedc3b512b4b7 (patch)
treef8dcfe78a34d033b506b88143385338c5a6306d6 /tools/perf/scripts/python/bin
parent445ee2de112a18419aeae72fdae4221cd90f2948 (diff)
scsi: hisi_sas: Don't bother clearing status buffer IU in task prep
For struct hisi_sas_status_buffer, it contains struct hisi_sas_err_record and iu[1024]. The struct iu[1024] will be filled fully by the response of disks, so it is not need to initialize them to 0, but for the struct hisi_sas_err_record, SAS controller only fill some fields of hisi_sas_err_record according to hw designer, so it should be initialised to 0. After the change, cpu utilization percentage of memset() is changed from 1.7% to 0.12%. 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/bin')
0 files changed, 0 insertions, 0 deletions