]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - mm/page_alloc.c
cpuset,mm: update tasks' mems_allowed in time
[net-next-2.6.git] / mm / page_alloc.c
index 17d5f539a9aa58a18accc8f97904faf02d93d04e..7cc3179e359177f93e767c936fb5f71b93271cfb 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);