MEMKIND_DAX_KMEM(3)

πŸ’– memkind_dax_kmem β€” DAX KMEM memory memkind operations πŸ’–

okay bestie, welcome to the memkind_dax_kmem page β€” it's giving EXPERIMENTAL API energy and you need to know that up front, fr fr.

⚠️ Note: This is EXPERIMENTAL API. The functionality and the header file itself can be changed (including non-backward compatible changes) or removed. No cap. Do not build your whole personality on this one, queen. πŸ’€

✨ SYNOPSIS ✨

int memkind_dax_kmem_all_get_mbind_nodemask(struct memkind *kind,
unsigned long *nodemask, unsigned long maxnode);

🌸 DESCRIPTION 🌸

DAX KMEM memory memkind operations. That's the whole vibe of this page, and honestly? Iconic of it.

memkind_dax_kmem_all_get_mbind_nodemask() sets the nodemask bits to one that correspond to all persistent memory NUMA nodes in the system 🫢. Every other bit up to maxnode gets set to zero β€” like, full clean slate, no crumbs left behind. πŸ’…

And then? You can take that nodemask and use it in conjunction with the mbind(2) system call. It's a collab, bestie. 🀝


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


πŸ¦‹ SEE ALSO πŸ¦‹


Intel Corporation Β· 2019-07-19 Β· MEMKIND_DAX_KMEM(3) β€” and that's the whole page, bestie! go slay some NUMA nodes πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from