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 87C4A6B02AD for ; Thu, 5 Aug 2010 11:05:09 -0400 (EDT) Message-ID: <4C5AD348.3050404@redhat.com> Date: Thu, 05 Aug 2010 11:05:44 -0400 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH 2/7] vmscan: synchronous lumpy reclaim don't call congestion_wait() References: <20100805150624.31B7.A69D9226@jp.fujitsu.com> <20100805151229.31BD.A69D9226@jp.fujitsu.com> In-Reply-To: <20100805151229.31BD.A69D9226@jp.fujitsu.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: KOSAKI Motohiro Cc: LKML , linux-mm , Andrew Morton , Johannes Weiner , Mel Gorman , Wu Fengguang , Minchan Kim List-ID: On 08/05/2010 02:13 AM, KOSAKI Motohiro wrote: > congestion_wait() mean "waiting quueue congestion is cleared". > That said, if the system have plenty dirty pages and flusher thread push > new request to IO queue conteniously, IO queue are not cleared > congestion status for long time. thus, congestion_wait(HZ/10) become > almostly equivalent schedule_timeout(HZ/10). > > However, synchronous lumpy reclaim donesn't need this > congestion_wait() at all. shrink_page_list(PAGEOUT_IO_SYNC) are > using wait_on_page_writeback() and it provide sufficient waiting. > > Signed-off-by: KOSAKI Motohiro Acked-by: Rik van Riel -- All rights reversed -- 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