numa.h | numa.h | |||
---|---|---|---|---|
skipping to change at line 313 | skipping to change at line 313 | |||
int numa_migrate_pages(int pid, struct bitmask *from, struct bitmask *to); | int numa_migrate_pages(int pid, struct bitmask *from, struct bitmask *to); | |||
int numa_move_pages(int pid, unsigned long count, void **pages, | int numa_move_pages(int pid, unsigned long count, void **pages, | |||
const int *nodes, int *status, int flags); | const int *nodes, int *status, int flags); | |||
int numa_sched_getaffinity(pid_t, struct bitmask *); | int numa_sched_getaffinity(pid_t, struct bitmask *); | |||
int numa_sched_setaffinity(pid_t, struct bitmask *); | int numa_sched_setaffinity(pid_t, struct bitmask *); | |||
/* Convert an ascii list of nodes to a bitmask */ | /* Convert an ascii list of nodes to a bitmask */ | |||
struct bitmask *numa_parse_nodestring(char *); | struct bitmask *numa_parse_nodestring(const char *); | |||
/* Convert an ascii list of nodes to a bitmask without current nodeset | ||||
* dependency */ | ||||
struct bitmask *numa_parse_nodestring_all(const char *); | ||||
/* Convert an ascii list of cpu to a bitmask */ | /* Convert an ascii list of cpu to a bitmask */ | |||
struct bitmask *numa_parse_cpustring(char *); | struct bitmask *numa_parse_cpustring(const char *); | |||
/* Convert an ascii list of cpu to a bitmask without current taskset | ||||
* dependency */ | ||||
struct bitmask *numa_parse_cpustring_all(const char *); | ||||
/* | /* | |||
* The following functions are for source code compatibility | * The following functions are for source code compatibility | |||
* with releases prior to version 2. | * with releases prior to version 2. | |||
* Such codes should be compiled with NUMA_VERSION1_COMPATIBILITY defined. | * Such codes should be compiled with NUMA_VERSION1_COMPATIBILITY defined. | |||
*/ | */ | |||
static inline void numa_set_interleave_mask_compat(nodemask_t *nodemask) | static inline void numa_set_interleave_mask_compat(nodemask_t *nodemask) | |||
{ | { | |||
struct bitmask tmp; | struct bitmask tmp; | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 10 lines changed or added | |||