diff options
| author | 2021-11-24 21:41:36 +0100 | |
|---|---|---|
| committer | 2021-11-25 13:29:05 -0400 | |
| commit | a277f383217a2c03f96166c5b33304c8b939532e (patch) | |
| tree | 0f09e5d608b56ac2678c8a369fe77d9de6c29791 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | IB/mthca: Use bitmap_zalloc() when applicable (diff) | |
| download | linux-dev-a277f383217a2c03f96166c5b33304c8b939532e.tar.xz linux-dev-a277f383217a2c03f96166c5b33304c8b939532e.zip | |
IB/mthca: Use bitmap_set() when applicable
The 'alloc->table' bitmap has just been allocated, so this is safe to use
the faster and non-atomic 'bitmap_set()' function. There is no need to
hand-write it.
Link: https://lore.kernel.org/r/f1bd33f6ea6c8ad519a222db6e9aa17c55610557.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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
