From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with SMTP id 601586B02B8 for ; Thu, 6 May 2010 11:34:34 -0400 (EDT) Message-ID: <4BE2E167.2030806@redhat.com> Date: Thu, 06 May 2010 11:33:59 -0400 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH] mm,compaction: Do not schedule work on other CPUs for compaction References: <20100506150808.GC8704@csn.ul.ie> In-Reply-To: <20100506150808.GC8704@csn.ul.ie> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Mel Gorman Cc: Andrew Morton , Andrea Arcangeli , Christoph Lameter , Adam Litke , Avi Kivity , David Rientjes , Minchan Kim , KAMEZAWA Hiroyuki , KOSAKI Motohiro , linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: 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 Reviewed-by: Rik van Riel -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org