numa.h   numa.h 
skipping to change at line 149 skipping to change at line 149
int numa_max_possible_node(void); int numa_max_possible_node(void);
/* Return preferred node */ /* Return preferred node */
int numa_preferred(void); int numa_preferred(void);
/* Return node size and free memory */ /* Return node size and free memory */
long long numa_node_size64(int node, long long *freep); long long numa_node_size64(int node, long long *freep);
long numa_node_size(int node, long *freep); long numa_node_size(int node, long *freep);
int numa_pagesize(void); int numa_pagesize(void);
/* Set with all nodes. Only valid after numa_available. */ /* Set with all nodes from which the calling process may allocate memory.
Only valid after numa_available. */
extern struct bitmask *numa_all_nodes_ptr; extern struct bitmask *numa_all_nodes_ptr;
/* Set with all nodes the kernel has exposed to userspace */
extern struct bitmask *numa_nodes_ptr;
/* For source compatibility */ /* For source compatibility */
extern nodemask_t numa_all_nodes; extern nodemask_t numa_all_nodes;
/* Set with all cpus. */ /* Set with all cpus. */
extern struct bitmask *numa_all_cpus_ptr; extern struct bitmask *numa_all_cpus_ptr;
/* Set with no nodes */ /* Set with no nodes */
extern struct bitmask *numa_no_nodes_ptr; extern struct bitmask *numa_no_nodes_ptr;
/* Source compatibility */ /* Source compatibility */
skipping to change at line 259 skipping to change at line 263
int numa_num_possible_cpus(); int numa_num_possible_cpus();
/* nodes in the system */ /* nodes in the system */
int numa_num_configured_nodes(); int numa_num_configured_nodes();
/* maximum cpus */ /* maximum cpus */
int numa_num_configured_cpus(); int numa_num_configured_cpus();
/* maximum cpus allowed to current task */ /* maximum cpus allowed to current task */
int numa_num_task_cpus(); int numa_num_task_cpus();
int numa_num_thread_cpus(); /* backward compatibility */
/* maximum nodes allowed to current task */ /* maximum nodes allowed to current task */
int numa_num_task_nodes(); int numa_num_task_nodes();
int numa_num_thread_nodes(); /* backward compatibility */
/* allocate a bitmask the size of the kernel cpumask_t */ /* allocate a bitmask the size of the kernel cpumask_t */
struct bitmask *numa_allocate_cpumask(); struct bitmask *numa_allocate_cpumask();
static inline void numa_free_cpumask(struct bitmask *b) static inline void numa_free_cpumask(struct bitmask *b)
{ {
numa_bitmask_free(b); numa_bitmask_free(b);
} }
/* Convert node to CPU mask. -1/errno on failure, otherwise 0. */ /* Convert node to CPU mask. -1/errno on failure, otherwise 0. */
 End of changes. 4 change blocks. 
1 lines changed or deleted 7 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/