Searched refs:task_nodes (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/mm/ |
D | migrate.c | 1782 static int do_pages_move(struct mm_struct *mm, nodemask_t task_nodes, in do_pages_move() argument 1814 if (!node_isset(node, task_nodes)) in do_pages_move() 2040 nodemask_t task_nodes; in kernel_move_pages() local 2049 mm = find_mm_struct(pid, &task_nodes); in kernel_move_pages() 2054 err = do_pages_move(mm, task_nodes, nr_pages, pages, in kernel_move_pages()
|
D | mempolicy.c | 1597 nodemask_t task_nodes; in kernel_migrate_pages() local 1640 task_nodes = cpuset_mems_allowed(task); in kernel_migrate_pages() 1642 if (!nodes_subset(*new, task_nodes) && !capable(CAP_SYS_NICE)) { in kernel_migrate_pages() 1647 task_nodes = cpuset_mems_allowed(current); in kernel_migrate_pages() 1648 nodes_and(*new, *new, task_nodes); in kernel_migrate_pages()
|