diff options
author | 2021-11-24 21:42:32 +0100 | |
---|---|---|
committer | 2021-11-25 13:29:06 -0400 | |
commit | 19453f34cf4916054cbbe499fd77715fde791622 (patch) | |
tree | f5d060b3ebd00e4eaf4ca746adb12dc57281b141 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | IB/mthca: Use bitmap_set() when applicable (diff) | |
download | linux-dev-19453f34cf4916054cbbe499fd77715fde791622.tar.xz linux-dev-19453f34cf4916054cbbe499fd77715fde791622.zip |
IB/mthca: Use non-atomic bitmap functions when possible in 'mthca_allocator.c'
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/5f909ca1284fa4d2cf13952b08b9e303b656c968.1637785902.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/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions