diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-11-25 20:34:10 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-11-29 14:33:55 -0400 |
commit | 27c2f5029ae33a6f5b7da935f42fda907df0d00c (patch) | |
tree | f4ca66c0c69275f600d0295fb98f45a11fdffa25 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0e938533d96d656764fbd3fe0e2578873ec6d3e6 (diff) |
RDMA/ocrdma: Use bitmap_zalloc() when applicable
Use 'bitmap_zalloc()' to simplify code, improve the semantic and avoid
some open-coded arithmetic in allocator arguments.
Also change the corresponding 'kfree()' into 'bitmap_free()' to keep
consistency.
Link: https://lore.kernel.org/r/b157f9e1586fb4d1083cb4058d7ac81b10bb86d7.1637868728.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