From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx120.postini.com [74.125.245.120]) by kanga.kvack.org (Postfix) with SMTP id B7F7C6B004A for ; Wed, 11 Apr 2012 14:51:40 -0400 (EDT) Received: by ghrr18 with SMTP id r18so884717ghr.14 for ; Wed, 11 Apr 2012 11:51:39 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4F85BEB5.6080702@redhat.com> References: <1334162298-18942-1-git-send-email-mgorman@suse.de> <1334162298-18942-3-git-send-email-mgorman@suse.de> <4F85BEB5.6080702@redhat.com> From: KOSAKI Motohiro Date: Wed, 11 Apr 2012 14:51:19 -0400 Message-ID: Subject: Re: [PATCH 2/3] mm: vmscan: Do not stall on writeback during memory compaction Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: Rik van Riel Cc: Mel Gorman , Andrew Morton , Konstantin Khlebnikov , Hugh Dickins , Ying Han , Linux-MM , LKML On Wed, Apr 11, 2012 at 1:26 PM, Rik van Riel wrote: > On 04/11/2012 12:38 PM, Mel Gorman wrote: >> >> This patch stops reclaim/compaction entering sync reclaim as this was only >> intended for lumpy reclaim and an oversight. Page migration has its own >> logic for stalling on writeback pages if necessary and memory compaction >> is already using it. >> >> Waiting on page writeback is bad for a number of reasons but the primary >> one is that waiting on writeback to a slow device like USB can take a >> considerable length of time. Page reclaim instead uses >> wait_iff_congested() >> to throttle if too many dirty pages are being scanned. >> >> Signed-off-by: Mel Gorman > > > Acked-by: Rik van Riel Acked-by: KOSAKI Motohiro -- 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 internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org