d635d6d297
The spdk_mem_reserve() function reserves a memory region in SPDK's memory maps. This pre-allocates all of the required data structures to hold memory address translations for that region without actually populating the region. After a region is reserved, calls to spdk_mem_register() for addresses in that range will not require any internal memory allocations. This is useful when overlaying a custom memory allocator on top of SPDK's hugepage memory, such as tcmalloc. Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2511 (master) This backport requires increasing SO_MINOR version, since it adds new API. Version 2.1 does not conflict with any other, since on master the API was increased from 2 to 3 SO_VER see: ( |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |