diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2010-05-25 01:32:40 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-25 19:07:00 +0400 |
commit | 8b25c6d2231b978ccce9c401e771932bde79aa9f (patch) | |
tree | 13845799e14e49465de1529680df7def59dcfeb8 /mm/memory_hotplug.c | |
parent | 0aeb2339e54e40d0788a7017ecaeac7f5271e262 (diff) | |
download | linux-8b25c6d2231b978ccce9c401e771932bde79aa9f.tar.xz |
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 'mm/memory_hotplug.c')
0 files changed, 0 insertions, 0 deletions