From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with ESMTP id C730A6B0266 for ; Wed, 5 May 2010 11:33:14 -0400 (EDT) Date: Wed, 5 May 2010 16:32:49 +0100 From: Mel Gorman Subject: Re: [PATCH] fix count_vm_event preempt in memory compaction direct reclaim Message-ID: <20100505153249.GR20979@csn.ul.ie> References: <1271797276-31358-1-git-send-email-mel@csn.ul.ie> <1271797276-31358-13-git-send-email-mel@csn.ul.ie> <20100505121908.GA5835@random.random> <20100505125156.GM20979@csn.ul.ie> <20100505131112.GB5835@random.random> <20100505135537.GO20979@csn.ul.ie> <20100505144813.GI5835@random.random> <20100505151439.GQ20979@csn.ul.ie> <20100505152531.GK5835@random.random> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20100505152531.GK5835@random.random> Sender: owner-linux-mm@kvack.org To: Andrea Arcangeli Cc: Andrew Morton , Christoph Lameter , Adam Litke , Avi Kivity , David Rientjes , Minchan Kim , KAMEZAWA Hiroyuki , KOSAKI Motohiro , Rik van Riel , linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: On Wed, May 05, 2010 at 05:25:31PM +0200, Andrea Arcangeli wrote: > On Wed, May 05, 2010 at 04:14:39PM +0100, Mel Gorman wrote: > > How about the following as an alternative to dropp migrate_prep? > > Yep this is what I'd like too... btw in the comments you also mention > IPI but I guess that's ok. It was an oversight. I've corrected it now. > About the cost I'm not sure but I would > expect the cost of this to be even higher because it also has to run > the scheduler unlike a real IPI. > Fair point. I wouldn't be too sure what the relative costs are but either way it's bad and unnecessary in the case of compaction. -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- 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