From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail202.messagelabs.com (mail202.messagelabs.com [216.82.254.227]) by kanga.kvack.org (Postfix) with ESMTP id 0ED0F8D0001 for ; Fri, 12 Nov 2010 04:37:58 -0500 (EST) Date: Fri, 12 Nov 2010 09:37:43 +0000 From: Mel Gorman Subject: Re: [PATCH 3/3] mm,vmscan: Reclaim order-0 and compact instead of lumpy reclaim when under light pressure Message-ID: <20101112093742.GA3537@csn.ul.ie> References: <1289502424-12661-1-git-send-email-mel@csn.ul.ie> <1289502424-12661-4-git-send-email-mel@csn.ul.ie> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1289502424-12661-4-git-send-email-mel@csn.ul.ie> Sender: owner-linux-mm@kvack.org To: Andrea Arcangeli Cc: KOSAKI Motohiro , Andrew Morton , Rik van Riel , Johannes Weiner , linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: On Thu, Nov 11, 2010 at 07:07:04PM +0000, Mel Gorman wrote: > + if (COMPACTION_BUILD) > + sc->lumpy_reclaim_mode = LUMPY_MODE_COMPACTION; > + else > + sc->lumpy_reclaim_mode = LUMPY_MODE_CONTIGRECLAIM; > Gack, I posted the slightly wrong version. This version prevents lumpy reclaim ever being used. The figures I posted were for a patch where this condition looked like if (COMPACTION_BUILD && priority > DEF_PRIORITY - 2) sc->lumpy_reclaim_mode = LUMPY_MODE_COMPACTION; else sc->lumpy_reclaim_mode = LUMPY_MODE_CONTIGRECLAIM; -- 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/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: email@kvack.org