hwlocality_linux_libnuma_nodemask3
Detailed Description
Note:
The Linux libnuma nodemask_t interface is deprecated and its implementation is at least incorrect with respect to sparse NUMA node ids. It is strongly advised to use struct bitmask instead of nodemask_t, or even to use hwloc directly.
Function Documentation
static inline int hwloc_cpuset_from_linux_libnuma_nodemask (hwloc_topology_ttopology, hwloc_cpuset_tcpuset, const nodemask_t *nodemask) [static]
Convert libnuma nodemask nodemask into hwloc CPU set cpuset. This function may be used before calling some old libnuma functions that use a nodemask_t as an output parameter.
static inline int hwloc_cpuset_to_linux_libnuma_nodemask (hwloc_topology_ttopology, hwloc_const_cpuset_tcpuset, nodemask_t *nodemask) [static]
Convert hwloc CPU set cpuset into libnuma nodemask nodemask. This function may be used before calling some old libnuma functions that use a nodemask_t as an input parameter.
static inline int hwloc_nodeset_from_linux_libnuma_nodemask (hwloc_topology_ttopology, hwloc_nodeset_tnodeset, const nodemask_t *nodemask) [static]
Convert libnuma nodemask nodemask into hwloc NUMA node set nodeset. This function may be used before calling some old libnuma functions that use a nodemask_t as an output parameter.
static inline int hwloc_nodeset_to_linux_libnuma_nodemask (hwloc_topology_ttopology, hwloc_const_nodeset_tnodeset, nodemask_t *nodemask) [static]
Convert hwloc NUMA node set nodeset into libnuma nodemask nodemask. This function may be used before calling some old libnuma functions that use a nodemask_t as an input parameter.
Releases
2 releases since Debian 6.0 (Squeeze); the text changed 1 time.