mld(3)
mld_create, mld_destroy, process_mldlink, process_cpulink, numa_acreate - memory locality domain operations
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME mld_create, mld_destroy, process_mldlink, process_cpulink, numa_acreate - memory locality domain operations SYNOPSIS #include <sys/types.h> #include <sys/pmo.h> pmo_handle_t mld_create(int radius, long size) int mld_destroy(pmo_handle_t mld_handle) int process_mldlink(pid_t pid, pmo_handle_t mld_handle, rqmode_t int process_cpulink(pid_t pid, pmo_handle_t mld_handle, cpuid_t void* numa_acreate(pmo_handle_t mld, size_t arena_size, size_t DESCRIPTION mld_create creates a memory locality domain. mld_destroy destroys a memory locality domain. process_mldlink attaches a process to an mld. When a process is attached to an mld, the process scheduler tries to acticate the process on a cpu in the node where the mld has been placed. process_cpulink attaches a process to a specific processor within an mld. This operation forces a process to always run on the same processor using `mustrun' (see sysmp(2)). numa_acreate creates an arena for memory allocation on a specific mld. SEE ALSO numa(5), mmci(5), mldset(3c), pm(3c), amalloc(3p), sysmp(2), migration(3c), pminfo(3c). DIAGNOSTICS Upon successful completion, mld_create returns a value of type pmo_handle_t, mld_destroy, process_mldlink, and process_cpulink return 0. Otherwise, a value of -1 is returned and errno is set to indicate the error.