numa.h   numa.h 
skipping to change at line 56 skipping to change at line 56
unsigned long *maskp; unsigned long *maskp;
}; };
/* operations on struct bitmask */ /* operations on struct bitmask */
int numa_bitmask_isbitset(const struct bitmask *, unsigned int); int numa_bitmask_isbitset(const struct bitmask *, unsigned int);
struct bitmask *numa_bitmask_setall(struct bitmask *); struct bitmask *numa_bitmask_setall(struct bitmask *);
struct bitmask *numa_bitmask_clearall(struct bitmask *); struct bitmask *numa_bitmask_clearall(struct bitmask *);
struct bitmask *numa_bitmask_setbit(struct bitmask *, unsigned int); struct bitmask *numa_bitmask_setbit(struct bitmask *, unsigned int);
struct bitmask *numa_bitmask_clearbit(struct bitmask *, unsigned int); struct bitmask *numa_bitmask_clearbit(struct bitmask *, unsigned int);
unsigned int numa_bitmask_nbytes(struct bitmask *); unsigned int numa_bitmask_nbytes(struct bitmask *);
unsigned int numa_bitmask_weight(const struct bitmask *);
struct bitmask *numa_bitmask_alloc(unsigned int); struct bitmask *numa_bitmask_alloc(unsigned int);
void numa_bitmask_free(struct bitmask *); void numa_bitmask_free(struct bitmask *);
int numa_bitmask_equal(const struct bitmask *, const struct bitmask *); int numa_bitmask_equal(const struct bitmask *, const struct bitmask *);
void copy_nodemask_to_bitmask(nodemask_t *, struct bitmask *); void copy_nodemask_to_bitmask(nodemask_t *, struct bitmask *);
void copy_bitmask_to_nodemask(struct bitmask *, nodemask_t *); void copy_bitmask_to_nodemask(struct bitmask *, nodemask_t *);
void copy_bitmask_to_bitmask(struct bitmask *, struct bitmask *); void copy_bitmask_to_bitmask(struct bitmask *, struct bitmask *);
/* compatibility for codes that used them: */ /* compatibility for codes that used them: */
static inline void nodemask_zero(nodemask_t *mask) static inline void nodemask_zero(nodemask_t *mask)
skipping to change at line 240 skipping to change at line 241
void numa_tonodemask_memory(void *mem, size_t size, struct bitmask *mask); void numa_tonodemask_memory(void *mem, size_t size, struct bitmask *mask);
/* Allocate a memory area on the current node. */ /* Allocate a memory area on the current node. */
void numa_setlocal_memory(void *start, size_t size); void numa_setlocal_memory(void *start, size_t size);
/* Allocate memory area with current memory policy */ /* Allocate memory area with current memory policy */
void numa_police_memory(void *start, size_t size); void numa_police_memory(void *start, size_t size);
/* Run current task only on nodes in mask */ /* Run current task only on nodes in mask */
int numa_run_on_node_mask(struct bitmask *mask); int numa_run_on_node_mask(struct bitmask *mask);
/* Run current task on nodes in mask without any cpuset awareness */
int numa_run_on_node_mask_all(struct bitmask *mask);
/* Run current task only on node */ /* Run current task only on node */
int numa_run_on_node(int node); int numa_run_on_node(int node);
/* Return current mask of nodes the task can run on */ /* Return current mask of nodes the task can run on */
struct bitmask * numa_get_run_node_mask(void); struct bitmask * numa_get_run_node_mask(void);
/* When strict fail allocation when memory cannot be allocated in target no de(s). */ /* When strict fail allocation when memory cannot be allocated in target no de(s). */
void numa_set_bind_policy(int strict); void numa_set_bind_policy(int strict);
/* Fail when existing memory has incompatible policy */ /* Fail when existing memory has incompatible policy */
void numa_set_strict(int flag); void numa_set_strict(int flag);
 End of changes. 2 change blocks. 
0 lines changed or deleted 3 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/