From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx127.postini.com [74.125.245.127]) by kanga.kvack.org (Postfix) with SMTP id E42D36B0002 for ; Wed, 15 May 2013 03:12:24 -0400 (EDT) Date: Wed, 15 May 2013 16:12:20 +0900 From: Minchan Kim Subject: Re: [RFC 4/4] mm: free reclaimed pages instantly without depending next reclaim Message-ID: <20130515071220.GA19110@blaptop> References: <1368411048-3753-1-git-send-email-minchan@kernel.org> <1368411048-3753-5-git-send-email-minchan@kernel.org> <51927531.8010507@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51927531.8010507@redhat.com> Sender: owner-linux-mm@kvack.org List-ID: To: Rik van Riel Cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Mel Gorman , Johannes Weiner , Kamezawa Hiroyuki , Michal Hocko , Hugh Dickins Hey Rik, On Tue, May 14, 2013 at 01:32:33PM -0400, Rik van Riel wrote: > On 05/12/2013 10:10 PM, Minchan Kim wrote: > >Normally, file I/O for reclaiming is asynchronous so that > >when page writeback is completed, reclaimed page will be > >rotated into LRU tail for fast reclaiming in next turn. > >But it makes unnecessary CPU overhead and more iteration with higher > >priority of reclaim could reclaim too many pages than needed > >pages. > > > >This patch frees reclaimed pages by paging out instantly without > >rotating back them into LRU's tail when the I/O is completed so > >that we can get out of reclaim loop as soon as poosbile and avoid > >unnecessary CPU overhead for moving them. > > > >Signed-off-by: Minchan Kim > > I like this approach and am looking forward to your v2 series, > with the reworked patch 3/4. I will do it after I finish more urgent works. :) I am looking forward to seeing your review, then. Thanks for the interest. -- Kind regards, Minchan Kim -- 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