get_mempolicy: Support (MPOL_F_NODE | MPOL_F_ADDR) specified
If flags specifies both MPOL_F_NODE and MPOL_F_ADDR, get_mempolicy() will return the node ID of the node on which the address addr is allocated into the location pointed to by mode. Change-Id: Id485e3f4838e3679d877a95e53b21e3421cac88a
This commit is contained in:
committed by
Masamichi Takagi
parent
aef50d710c
commit
9f1e6d707c
@ -20,6 +20,8 @@ struct process_vm;
|
||||
|
||||
unsigned long virt_to_phys(void *v);
|
||||
void *phys_to_virt(unsigned long p);
|
||||
int phys_to_nid(unsigned long p);
|
||||
int lookup_node(struct process_vm *vm, void *addr);
|
||||
int copy_from_user(void *dst, const void *src, size_t siz);
|
||||
int strlen_user(const char *s);
|
||||
int strcpy_from_user(char *dst, const char *src);
|
||||
|
||||
Reference in New Issue
Block a user