From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with SMTP id EA58E900001 for ; Tue, 3 May 2011 09:26:24 -0400 (EDT) Message-ID: <4DC00254.3010603@redhat.com> Date: Tue, 03 May 2011 09:25:40 -0400 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH V2 1/2] Add the soft_limit reclaim in global direct reclaim. References: <1304355025-1421-1-git-send-email-yinghan@google.com> <1304355025-1421-2-git-send-email-yinghan@google.com> In-Reply-To: <1304355025-1421-2-git-send-email-yinghan@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Ying Han Cc: KOSAKI Motohiro , Minchan Kim , Daisuke Nishimura , Balbir Singh , Tejun Heo , Pavel Emelyanov , KAMEZAWA Hiroyuki , Andrew Morton , Li Zefan , Mel Gorman , Christoph Lameter , Johannes Weiner , Hugh Dickins , Michal Hocko , Dave Hansen , Zhu Yanhai , linux-mm@kvack.org On 05/02/2011 12:50 PM, Ying Han wrote: > We recently added the change in global background reclaim which > counts the return value of soft_limit reclaim. Now this patch adds > the similar logic on global direct reclaim. > > We should skip scanning global LRU on shrink_zone if soft_limit reclaim > does enough work. This is the first step where we start with counting > the nr_scanned and nr_reclaimed from soft_limit reclaim into global > scan_control. Would be nice to see that at some point, but simply counting the amount reclaimed from the over softlimit groups is a good start. > no change since v1. > > Signed-off-by: Ying Han 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org