Home
last modified time | relevance | path

Searched refs:task_nodes (Results 1 – 2 of 2) sorted by relevance

/mm/
Dmempolicy.c1520 nodemask_t task_nodes; in kernel_migrate_pages() local
1563 task_nodes = cpuset_mems_allowed(task); in kernel_migrate_pages()
1565 if (!nodes_subset(*new, task_nodes) && !capable(CAP_SYS_NICE)) { in kernel_migrate_pages()
1570 task_nodes = cpuset_mems_allowed(current); in kernel_migrate_pages()
1571 nodes_and(*new, *new, task_nodes); in kernel_migrate_pages()
Dmigrate.c1705 static int do_pages_move(struct mm_struct *mm, nodemask_t task_nodes, in do_pages_move() argument
1737 if (!node_isset(node, task_nodes)) in do_pages_move()
1919 nodemask_t task_nodes; in kernel_move_pages() local
1928 mm = find_mm_struct(pid, &task_nodes); in kernel_move_pages()
1933 err = do_pages_move(mm, task_nodes, nr_pages, pages, in kernel_move_pages()