From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with ESMTP id DFA3E6B00EE for ; Thu, 11 Aug 2011 19:16:17 -0400 (EDT) Received: by qyk27 with SMTP id 27so58855qyk.14 for ; Thu, 11 Aug 2011 16:16:15 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1313094715-31187-1-git-send-email-jweiner@redhat.com> References: <1313094715-31187-1-git-send-email-jweiner@redhat.com> Date: Fri, 12 Aug 2011 08:16:15 +0900 Message-ID: Subject: Re: [patch 1/2] mm: vmscan: fix force-scanning small targets without swap From: Minchan Kim Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org List-ID: To: Johannes Weiner Cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, KAMEZAWA Hiroyuki , Michal Hocko , Ying Han , Balbir Singh , KOSAKI Motohiro , Daisuke Nishimura , Mel Gorman On Fri, Aug 12, 2011 at 5:31 AM, Johannes Weiner wrote= : > Without swap, anonymous pages are not scanned. =C2=A0As such, they should > not count when considering force-scanning a small target if there is > no swap. > > Otherwise, targets are not force-scanned even when their effective > scan number is zero and the other conditions--kswapd/memcg--apply. > > Signed-off-by: Johannes Weiner Reviewed-by: Minchan Kim Good catch! --=20 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org