aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorBalsundar P <[email protected]>2022-02-01 15:48:28 -0600
committerMartin K. Petersen <[email protected]>2022-02-07 23:38:34 -0500
commit42dc0426fbbbe380c83976e7601f23de0034249d (patch)
tree5f45ec32d2df7a72a9ed0c2733f77d85e631b0e5 /tools/perf/scripts/python/flamegraph.py
parent9e98e60bfca341f5f1bf425dbf68cb1a96b323c9 (diff)
scsi: smartpqi: Resolve delay issue with PQI_HZ value
Change PQI_HZ to HZ. PQI_HZ macro was set to 1000 when HZ value is less than 1000. By default, PQI_HZ will result into a delay of 10 seconds(for kernel, which has HZ = 100). So in this case when firmware raises an event, rescan worker will be scheduled after a delay of (10 x PQI_HZ) = 100 seconds instead of 10 seconds. Also driver uses PQI_HZ at many instances, which might result in some other issues with respect to delay. Link: https://lore.kernel.org/r/164375210825.440833.15510172447583227486.stgit@brunhilda.pdev.net Reviewed-by: Kevin Barnett <[email protected]> Reviewed-by: Mike McGowen <[email protected]> Reviewed-by: Scott Benesh <[email protected]> Reviewed-by: Scott Teel <[email protected]> Signed-off-by: Balsundar P <[email protected]> Signed-off-by: Don Brace <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions