diff options
author | Kevin Barnett <[email protected]> | 2024-07-11 14:47:01 -0500 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2024-08-02 22:07:18 -0400 |
commit | bb0f5445b27f4a8f8359cc0f36a59a397b4b5e0c (patch) | |
tree | 1c9f7194ae0682d62c687e2996a758c836269d36 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 0e21e73384d324f75ea16f3d622cfc433fa6209b (diff) |
scsi: smartpqi: Improve accuracy/performance of raid-bypass-counter
The original implementation of this counter used an atomic variable.
However, this implementation negatively impacted performance in some
configurations.
Switch to using per_cpu variables.
Reviewed-by: Scott Benesh <[email protected]>
Reviewed-by: Scott Teel <[email protected]>
Reviewed-by: Mike McGowen <[email protected]>
Co-developed-by: Mahesh Rajashekhara <[email protected]>
Signed-off-by: Mahesh Rajashekhara <[email protected]>
Signed-off-by: Kevin Barnett <[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/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions