Barrelfish
Data Structures | Functions | Variables
numa_internal.h File Reference

internal header of libnuma More...

Data Structures

struct  numa_topology
 numa topology information of the system More...
 
struct  numa_node
 represents a numa node More...
 
struct  numa_core
 represents a core stores the topology information More...
 

Functions

errval_t numa_get_topology_from_skb (struct numa_topology *topology)
 obtains the system topology from the SKB More...
 
void numa_free_topology (struct numa_topology *topology)
 frees the numa topology structure More...
 
void numa_dump_topology (struct numa_topology *topology)
 dumps the numa topology structure More...
 

Variables

struct numa_topology numa_topology
 numa interleave mask for allocations More...
 
struct bitmap * numa_alloc_interleave_mask
 numa bind mask for allocations More...
 

Detailed Description

internal header of libnuma

This is derived from:

Linux man pages "numa" libnuma from http://oss.sgi.com/projects/libnuma/

Function Documentation

void numa_dump_topology ( struct numa_topology topology)

dumps the numa topology structure

Parameters
topologypointer to the topology to dump
void numa_free_topology ( struct numa_topology topology)

frees the numa topology structure

Parameters
topologypointer to the topology information structure
errval_t numa_get_topology_from_skb ( struct numa_topology topology)

obtains the system topology from the SKB

Parameters
topologypointer to the topology information structure
Returns
SYS_ERR_OK on SUCCESS errval on FAILURE

Variable Documentation

struct bitmap* numa_alloc_interleave_mask

numa bind mask for allocations

numa bind mask for allocations

numa interleave mask for allocations

numa interleave mask for allocations