diff options
author | 2024-07-11 14:47:01 -0500 | |
---|---|---|
committer | 2024-08-02 22:07:18 -0400 | |
commit | bb0f5445b27f4a8f8359cc0f36a59a397b4b5e0c (patch) | |
tree | 1c9f7194ae0682d62c687e2996a758c836269d36 /scripts/lib/kdoc/kdoc_parser.py | |
parent | scsi: smartpqi: Add new controller PCI IDs (diff) | |
download | wireguard-linux-bb0f5445b27f4a8f8359cc0f36a59a397b4b5e0c.tar.xz wireguard-linux-bb0f5445b27f4a8f8359cc0f36a59a397b4b5e0c.zip |
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 <scott.benesh@microchip.com>
Reviewed-by: Scott Teel <scott.teel@microchip.com>
Reviewed-by: Mike McGowen <mike.mcgowen@microchip.com>
Co-developed-by: Mahesh Rajashekhara <mahesh.rajashekhara@microchip.com>
Signed-off-by: Mahesh Rajashekhara <mahesh.rajashekhara@microchip.com>
Signed-off-by: Kevin Barnett <kevin.barnett@microchip.com>
Signed-off-by: Don Brace <don.brace@microchip.com>
Link: https://lore.kernel.org/r/20240711194704.982400-3-don.brace@microchip.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions