NAME
SYNOPSIS
DESCRIPTION
COPYRIGHT
SEE ALSO
memkind_fixed - memkind operations on user-defined memory.
Note: This is EXPERIMENTAL API. The functionality and the header file itself can be changed (including non-backward compatible changes) or removed.
int memkind_fixed_create(struct memkind *kind, struct memkind_ops *ops, const char *name);
int memkind_fixed_destroy(struct memkind *kind);
void *memkind_fixed_mmap(struct memkind *kind, void *addr, size_t size);
The fixed memory memkind operations enable memory kinds built on user-defined memory. Such memory may have different attributes, depending on how the memory mapping was created.
The fixed kinds are most useful when a specific memory characteristics, e.g. numa binding, which are not fully supported by other memkind API, need to be manipulated.
The most convenient way to create fixed kinds is to use memkind_create_fixed()
(see memkind(3)).
memkind_fixed_create()
memkind_arena_create()
(see memkind_arena(3))memkind_fixed_destroy()
memkind_fixed_create()
, but please note that it
does not de-allocate the underlying memory.memkind_fixed_mmap()
Copyright (C) 2021 - 2022 Intel Corporation. All rights reserved.
memkind(3), memkind_arena(3), memkind_default(3), memkind_hbw(3), memkind_hugetlb(3), libvmem(3), jemalloc(3), mbind(2), mmap(2)
The contents of this web site and the associated GitHub repositories are BSD-licensed open source.