API: add new comment to spdk_memzone_reserve API
Change-Id: Ia6ba71776de638636efa703d132a863424900d3c Signed-off-by: GangCao <gang.cao@intel.com>
This commit is contained in:
parent
0dacdf2947
commit
47214fa6c2
@ -82,6 +82,7 @@ spdk_free(void *buf);
|
||||
* socket_id and flags.
|
||||
* Return a pointer to the allocated memory address. If the allocation
|
||||
* cannot be done, return NULL.
|
||||
* Note: to pick any socket id, just set socket_id to -1.
|
||||
*/
|
||||
void *
|
||||
spdk_memzone_reserve(const char *name, size_t len, int socket_id, unsigned flags);
|
||||
|
Loading…
Reference in New Issue
Block a user