hwloc_topo...nd_support(3)
๐ hwloc_topology_membind_support ๐
okay so bestie, this page is from the Library Functions Manual, and the main character is hwloc_topology_membind_support โ the memory-binding support flag moment for a topology. Itโs giving โwhat bind stuff is actually supported around here?โ โจ
โจ NAME โจ
hwloc_topology_membind_support โ thatโs the name, no cap. ๐
๐ SYNOPSIS ๐
First things first, queen: include the header.
#include <hwloc.h>
๐ฆ Data Fields ๐ฆ
Hereโs the full flag lineup, and yes, every single one is an unsigned char:
unsigned char set_thisproc_membindunsigned char get_thisproc_membindunsigned char set_proc_membindunsigned char get_proc_membindunsigned char set_thisthread_membindunsigned char get_thisthread_membindunsigned char set_area_membindunsigned char get_area_membindunsigned char alloc_membindunsigned char firsttouch_membindunsigned char bind_membindunsigned char interleave_membindunsigned char nexttouch_membindunsigned char migrate_membindunsigned char get_area_memlocationunsigned char weighted_interleave_membind
๐ธ Detailed Description ๐ธ
These are literally:
Flags describing actual memory binding support for this topology.
So like, this is the vibe check for memory-binding support on the topology. ๐ฅ
And hereโs the important caveat, bestie:
A flag may be set even if the feature isn't supported in all cases (e.g. binding to random sets of non-contiguous objects).
Translation: donโt assume a set flag means every possible wild case is covered. The original specifically calls out the โrandom sets of non-contiguous objectsโ example, so keep that in mind. ๐ซถ
๐ฅ Field Documentation ๐ฅ
unsigned char hwloc_topology_membind_support::alloc_membind
Allocating a bound memory area is supported โ slay. ๐
unsigned char hwloc_topology_membind_support::bind_membind
The Bind policy is supported. Periodt. ๐
unsigned char hwloc_topology_membind_support::firsttouch_membind
The First-touch policy is supported. ๐
unsigned char hwloc_topology_membind_support::get_area_membind
Getting the binding of a given memory area is supported. Got it, bestie. ๐ฆ
unsigned char hwloc_topology_membind_support::get_area_memlocation
Getting the last NUMA nodes where a memory area was allocated is supported. Thatโs the tea. โ
unsigned char hwloc_topology_membind_support::get_proc_membind
Getting the binding of a whole given process is supported. ๐
unsigned char hwloc_topology_membind_support::get_thisproc_membind
Getting the binding of the whole current process is supported. Hi bestie, thatโs you. ๐ซถ
unsigned char hwloc_topology_membind_support::get_thisthread_membind
Getting the binding of the current thread only is supported. Very โmain character threadโ energy. ๐ง
unsigned char hwloc_topology_membind_support::interleave_membind
The Interleave policy is supported. ๐
unsigned char hwloc_topology_membind_support::migrate_membind
Migration flags are supported. ๐
unsigned char hwloc_topology_membind_support::nexttouch_membind
The Next-touch migration policy is supported. โจ
unsigned char hwloc_topology_membind_support::set_area_membind
Binding a given memory area is supported. ๐
unsigned char hwloc_topology_membind_support::set_proc_membind
Binding a whole given process is supported. ๐ฅ
unsigned char hwloc_topology_membind_support::set_thisproc_membind
Binding the whole current process is supported. ๐
unsigned char hwloc_topology_membind_support::set_thisthread_membind
Binding the current thread only is supported. ๐
unsigned char hwloc_topology_membind_support::weighted_interleave_membind
The Weighted interleave policy is supported. Iconic, honestly. ๐
๐ง Author ๐ง
This page was generated automatically by Doxygen for Hardware Locality (hwloc) from the source code. No mysterious manpage goblin hand-wrote this one, bestie. ๐
Cute sign-off time: the footerโs source/version is Hardware Locality (hwloc), Version 2.15.0, and the page name down there is hwloc_topo...nd_support(3). The original footer doesnโt print a separate date, so weโre not inventing one ๐. Bye bestie! ๐โจ
๐ฆ where this page comes from
- arch rolling: hwloc 2.15.0-1 ยท BSD-3-Clause
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms