summaryrefslogtreecommitdiffstats
path: root/mm/percpu-vm.c
diff options
context:
space:
mode:
authorMel Gorman <mel@csn.ul.ie>2010-05-24 23:32:18 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-25 17:06:58 +0200
commit7f60c214fd3a360461f3286c6908084f7f8b1950 (patch)
treedba48cf988a22a40796187c7274f7903a288f7f4 /mm/percpu-vm.c
parentmm: migration: take a reference to the anon_vma before migrating (diff)
downloadlinux-7f60c214fd3a360461f3286c6908084f7f8b1950.tar.xz
linux-7f60c214fd3a360461f3286c6908084f7f8b1950.zip
mm: migration: share the anon_vma ref counts between KSM and page migration
For clarity of review, KSM and page migration have separate refcounts on the anon_vma. While clear, this is a waste of memory. This patch gets KSM and page migration to share their toys in a spirit of harmony. Signed-off-by: Mel Gorman <mel@csn.ul.ie> Reviewed-by: Minchan Kim <minchan.kim@gmail.com> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Reviewed-by: Christoph Lameter <cl@linux-foundation.org> Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> 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/percpu-vm.c')
0 files changed, 0 insertions, 0 deletions