]> git.ipfire.org Git - thirdparty/linux.git/commit - lib/bitmap.c
lib: bitmap: Introduce node-aware alloc API
authorTariq Toukan <tariqt@nvidia.com>
Wed, 30 Dec 2020 09:41:52 +0000 (11:41 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 27 Oct 2021 02:30:38 +0000 (19:30 -0700)
commit7529cc7fbd9c02eda6851f3260416cbe198a321d
tree684d741c4ca88d3c91b0a7c41c7f9cf5fa95399b
parent06338ceff92510544a732380dbb2d621bd3775bf
lib: bitmap: Introduce node-aware alloc API

Expose new node-aware API for bitmap allocation:
bitmap_alloc_node() / bitmap_zalloc_node().

Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
include/linux/bitmap.h
lib/bitmap.c