diff options
| author | Mike McGowen <[email protected]> | 2023-04-28 10:37:05 -0500 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2023-05-08 07:17:11 -0400 |
| commit | 80d560d94fa9b28069c62e1a64ae4a03d5f43fbc (patch) | |
| tree | 2324e073d38a3a2a64dd03e6069983f990ce4a87 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 2312e844dc8d5fd66f179baa3d848d2613e4f81f (diff) | |
scsi: smartpqi: Remove contention for raid_bypass_cnt
Reduce CPU contention when incrementing variable raid_bypass_cnt.
Remove the atomic operations for this variable by changing the atomic to an
unsigned int and replace atomic operations with standard operations. The
value is only checked that it is increasing and accuracy is not required.
Reviewed-by: Scott Benesh <[email protected]>
Reviewed-by: Scott Teel <[email protected]>
Reviewed-by: Kevin Barnett <[email protected]>
Signed-off-by: Mike McGowen <[email protected]>
Signed-off-by: Don Brace <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions