numa.h | numa.h | |||
---|---|---|---|---|
skipping to change at line 215 | skipping to change at line 215 | |||
/* Alloc memory page interleaved on nodes in mask */ | /* Alloc memory page interleaved on nodes in mask */ | |||
void *numa_alloc_interleaved_subset(size_t size, struct bitmask *nodemask); | void *numa_alloc_interleaved_subset(size_t size, struct bitmask *nodemask); | |||
/* Alloc memory page interleaved on all nodes. */ | /* Alloc memory page interleaved on all nodes. */ | |||
void *numa_alloc_interleaved(size_t size); | void *numa_alloc_interleaved(size_t size); | |||
/* Alloc memory located on node */ | /* Alloc memory located on node */ | |||
void *numa_alloc_onnode(size_t size, int node); | void *numa_alloc_onnode(size_t size, int node); | |||
/* Alloc memory on local node */ | /* Alloc memory on local node */ | |||
void *numa_alloc_local(size_t size); | void *numa_alloc_local(size_t size); | |||
/* Allocation with current policy */ | /* Allocation with current policy */ | |||
void *numa_alloc(size_t size); | void *numa_alloc(size_t size); | |||
/* Change the size of a memory area preserving the memory policy */ | ||||
void *numa_realloc(void *old_addr, size_t old_size, size_t new_size); | ||||
/* Free memory allocated by the functions above */ | /* Free memory allocated by the functions above */ | |||
void numa_free(void *mem, size_t size); | void numa_free(void *mem, size_t size); | |||
/* Low level functions, primarily for shared memory. All memory | /* Low level functions, primarily for shared memory. All memory | |||
processed by these must not be touched yet */ | processed by these must not be touched yet */ | |||
/* Interleave an memory area. */ | /* Interleave an memory area. */ | |||
void numa_interleave_memory(void *mem, size_t size, struct bitmask *mask); | void numa_interleave_memory(void *mem, size_t size, struct bitmask *mask); | |||
/* Allocate a memory area on a specific node. */ | /* Allocate a memory area on a specific node. */ | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added | |||