---
name: "memkind_dax_kmem"
section: "3"
platform: "linux"
package: "libmemkind-dev"
version: "1.14.0-2"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/memkind_dax_kmem"
---

# memkind\_dax\_kmem(3)

DAX KMEM memory memkind operations. Note: This is EXPERIMENTAL API. The functionality and the header file itself can be changed (including non-backward compatible changes) or removed.

## NAME

memkind\_dax\_kmem - DAX KMEM memory memkind operations.\
 **Note:** This is EXPERIMENTAL API. The functionality and the header file itself can be changed (including non-backward compatible changes) or removed.

## SYNOPSIS

**int memkind\_dax\_kmem\_all\_get\_mbind\_nodemask(struct memkind** *\*kind***, unsigned long** *\*nodemask***, unsigned long** *maxnode***);**\

## DESCRIPTION

DAX KMEM memory memkind operations.

**memkind\_dax\_kmem\_all\_get\_mbind\_nodemask**() sets the *nodemask* bits to one that correspond to the all persistent memory NUMA nodes in the system. All other bits up to *maxnode* are set to zero. The *nodemask* can be used in conjunction with the [**mbind**(2)](/mbind/2.md) system call.

## COPYRIGHT

Copyright (C) 2019 - 2020 Intel Corporation. All rights reserved.

## SEE ALSO

[**memkind**(3)](/memkind/3.md), [**memkind\_arena**(3)](/memkind_arena/3.md), [**memkind\_default**(3)](/memkind_default/3.md), [**memkind\_hugetlb**(3)](/memkind_hugetlb/3.md), [**memkind\_pmem**(3)](/memkind_pmem/3.md), [**jemalloc**(3)](/jemalloc/3.md), [**mbind**(2)](/mbind/2.md), [**mmap**(2)](/mmap/2.md)
