cpuset,mm: update tasks' mems_allowed in time
[pandora-kernel.git] / mm / page_alloc.c
index 17d5f53..7cc3179 100644 (file)
@@ -1569,10 +1569,7 @@ nofail_alloc:
 
        /* We now go into synchronous reclaim */
        cpuset_memory_pressure_bump();
-       /*
-        * The task's cpuset might have expanded its set of allowable nodes
-        */
-       cpuset_update_task_memory_state();
+
        p->flags |= PF_MEMALLOC;
 
        lockdep_set_current_reclaim_state(gfp_mask);