diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-11-24 22:40:26 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-11-25 13:29:06 -0400 |
commit | 223b4d5c8702a92fb18d14e3f32953e474313e5b (patch) | |
tree | 4d1051dc79a19d2265bfa90b7b7375b615a634bc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 967a578af0c6d0c6c50ee5f9c48216cd2eebe4ef (diff) |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions