diff options
author | David Rientjes <rientjes@google.com> | 2009-09-21 20:01:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 10:17:25 -0400 |
commit | 478b81fd84a299adb401dbbae296f3767e552999 (patch) | |
tree | 64651cc58d04a54e4eca296d4124c6825a57329c /mm/page_alloc.c | |
parent | a5abeeacc44bbef2935a7a8e939264c28962def2 (diff) |
mm: remove obsoleted alloc_pages cpuset comment
When a cpuset's nodemask is updated, all attached tasks have their cached
task->mems_allowed updated by a heap instead of requiring an explicit call
to cpuset_update_task_memory_state(), which has since been removed in
58568d2a8215cb6f55caf2332017d7bdff954e1c ("cpuset,mm: update tasks'
mems_allowed in time").
Remove the obsoleted comment from the page allocator.
Cc: Paul Menage <menage@google.com>
Acked-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index a0de15f46987..f4e929e356db 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -1627,10 +1627,6 @@ __alloc_pages_direct_reclaim(gfp_t gfp_mask, unsigned int order, | |||
1627 | 1627 | ||
1628 | /* We now go into synchronous reclaim */ | 1628 | /* We now go into synchronous reclaim */ |
1629 | cpuset_memory_pressure_bump(); | 1629 | cpuset_memory_pressure_bump(); |
1630 | |||
1631 | /* | ||
1632 | * The task's cpuset might have expanded its set of allowable nodes | ||
1633 | */ | ||
1634 | p->flags |= PF_MEMALLOC; | 1630 | p->flags |= PF_MEMALLOC; |
1635 | lockdep_set_current_reclaim_state(gfp_mask); | 1631 | lockdep_set_current_reclaim_state(gfp_mask); |
1636 | reclaim_state.reclaimed_slab = 0; | 1632 | reclaim_state.reclaimed_slab = 0; |