summaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorJohannes Weiner2010-05-24 23:32:40 +0200
committerLinus Torvalds2010-05-25 17:07:00 +0200
commit8b25c6d2231b978ccce9c401e771932bde79aa9f (patch)
tree13845799e14e49465de1529680df7def59dcfeb8 /kernel/cpu.c
parentvmscan: remove all_unreclaimable scan control (diff)
downloadkernel-qcow2-linux-8b25c6d2231b978ccce9c401e771932bde79aa9f.tar.gz
kernel-qcow2-linux-8b25c6d2231b978ccce9c401e771932bde79aa9f.tar.xz
kernel-qcow2-linux-8b25c6d2231b978ccce9c401e771932bde79aa9f.zip
vmscan: remove isolate_pages callback scan control
For now, we have global isolation vs. memory control group isolation, do not allow the reclaim entry function to set an arbitrary page isolation callback, we do not need that flexibility. And since we already pass around the group descriptor for the memory control group isolation case, just use it to decide which one of the two isolator functions to use. The decisions can be merged into nearby branches, so no extra cost there. In fact, we save the indirect calls. Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Mel Gorman <mel@csn.ul.ie> Cc: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions