diff --git a/mm/mempolicy.c b/mm/mempolicy.c index f000771558d8820cc6d8ff6efea968a17acbd1b7..464406e8da9109b63d705132c3ea5f2187dd8c2e 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@ -1512,10 +1512,6 @@ static int kernel_migrate_pages(pid_t pid, unsigned long maxnode, if (nodes_empty(*new)) goto out_put; - nodes_and(*new, *new, node_states[N_MEMORY]); - if (nodes_empty(*new)) - goto out_put; - err = security_task_movememory(task); if (err) goto out_put;