Searched refs:task_nodes (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/mm/ |
D | migrate.c | 1592 static int do_pages_move(struct mm_struct *mm, nodemask_t task_nodes, in do_pages_move() argument 1624 if (!node_isset(node, task_nodes)) in do_pages_move() 1762 nodemask_t task_nodes; in kernel_move_pages() local 1795 task_nodes = cpuset_mems_allowed(task); in kernel_move_pages() 1803 err = do_pages_move(mm, task_nodes, nr_pages, pages, in kernel_move_pages()
|
D | mempolicy.c | 1465 nodemask_t task_nodes; in kernel_migrate_pages() local 1508 task_nodes = cpuset_mems_allowed(task); in kernel_migrate_pages() 1510 if (!nodes_subset(*new, task_nodes) && !capable(CAP_SYS_NICE)) { in kernel_migrate_pages() 1515 task_nodes = cpuset_mems_allowed(current); in kernel_migrate_pages() 1516 nodes_and(*new, *new, task_nodes); in kernel_migrate_pages()
|