diff options
author | 2021-11-26 22:18:26 +0100 | |
---|---|---|
committer | 2021-12-06 22:12:34 -0500 | |
commit | 4d6942e2666efb3a415213ed12ba72b7700620f3 (patch) | |
tree | 641b7fb702ce2beffc90f813c08a5fd769972c26 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | scsi: hisi_sas: Remove some useless code in hisi_sas_alloc() (diff) | |
download | linux-dev-4d6942e2666efb3a415213ed12ba72b7700620f3.tar.xz linux-dev-4d6942e2666efb3a415213ed12ba72b7700620f3.zip |
scsi: hisi_sas: Use non-atomic bitmap functions when possible
All uses of the 'hisi_hba->slot_index_tags' bitmap are protected with the
'hisi_hba->lock' spinlock.
Prefer the non-atomic '__[set|clear]_bit()' functions to save a few cycles.
Link: https://lore.kernel.org/r/8ee33e463523db080e6a2c06f332e47abb69359b.1637961191.git.christophe.jaillet@wanadoo.fr
Acked-by: John Garry <john.garry@huawei.com>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions