diff options
author | 2021-11-24 22:40:26 +0100 | |
---|---|---|
committer | 2021-11-25 13:29:06 -0400 | |
commit | 223b4d5c8702a92fb18d14e3f32953e474313e5b (patch) | |
tree | 4d1051dc79a19d2265bfa90b7b7375b615a634bc /tools/perf/scripts/python/sched-migration.py | |
parent | RDMA/cxgb4: Use bitmap_set() when applicable (diff) | |
download | linux-dev-223b4d5c8702a92fb18d14e3f32953e474313e5b.tar.xz linux-dev-223b4d5c8702a92fb18d14e3f32953e474313e5b.zip |
RDMA/cxgb4: Use non-atomic bitmap functions when possible
The accesses to the 'alloc->table' bitmap are protected by the
'alloc->lock' spinlock, so no concurrent accesses can happen.
So prefer the non-atomic '__[set|clear]_bit()' functions to save a few
cycles.
Link: https://lore.kernel.org/r/0c1c4505ca32f5ba4126e3e324041da191513ef2.1637789139.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions