Prev: [PATCH 0/2] Fix migration races in rmap_walk() V6
Next: [PATCH 2/2] mm,migration: Fix race between shift_arg_pages and rmap_walk by guaranteeing rmap_walk finds PTEs created within the temporary stack
From: Rik van Riel on 6 May 2010 11:40 On 05/06/2010 11:08 AM, Mel Gorman wrote: > Migration normally requires a call to migrate_prep() as a preparation > step. This schedules work on all CPUs for pagevecs to be drained. This > makes sense for move_pages and memory hot-remove but is unnecessary > for memory compaction. > > To avoid queueing work on multiple CPUs, this patch introduces > migrate_prep_local() which drains just local pagevecs. > > This patch can be either merged with mmcompaction-memory-compaction-core.patch > or placed immediately after it to clarify why migrate_prep_local() was > introduced. > > Signed-off-by: Mel Gorman<mel(a)csn.ul.ie> Reviewed-by: Rik van Riel <riel(a)redhat.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: KAMEZAWA Hiroyuki on 6 May 2010 20:20 On Thu, 6 May 2010 16:08:09 +0100 Mel Gorman <mel(a)csn.ul.ie> wrote: > Migration normally requires a call to migrate_prep() as a preparation > step. This schedules work on all CPUs for pagevecs to be drained. This > makes sense for move_pages and memory hot-remove but is unnecessary > for memory compaction. > > To avoid queueing work on multiple CPUs, this patch introduces > migrate_prep_local() which drains just local pagevecs. > > This patch can be either merged with mmcompaction-memory-compaction-core.patch > or placed immediately after it to clarify why migrate_prep_local() was > introduced. > > Signed-off-by: Mel Gorman <mel(a)csn.ul.ie> Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu(a)jp.fujitsu.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Christoph Lameter on 10 May 2010 13:00
Reviewed-by: Christoph Lameter <cl(a)linux-foundation.org> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |