]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited823177823454c378e1ec7981af4a244c9691b4
tree684d741c4ca88d3c91b0a7c41c7f9cf5fa95399b
parentf58046de241322a53ee1ea4fffac83192d0c133b
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