From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail172.messagelabs.com (mail172.messagelabs.com [216.82.254.3]) by kanga.kvack.org (Postfix) with SMTP id AA434900137 for ; Mon, 29 Aug 2011 12:09:12 -0400 (EDT) Date: Mon, 29 Aug 2011 18:08:39 +0200 From: Johannes Weiner Subject: Re: [patch 1/2] mm: vmscan: fix force-scanning small targets without swap Message-ID: <20110829160839.GA22439@redhat.com> References: <1313094715-31187-1-git-send-email-jweiner@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1313094715-31187-1-git-send-email-jweiner@redhat.com> Sender: owner-linux-mm@kvack.org List-ID: To: Andrew Morton Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, KAMEZAWA Hiroyuki , Michal Hocko , Ying Han , Balbir Singh , KOSAKI Motohiro , Daisuke Nishimura , Mel Gorman Andrew, On Thu, Aug 11, 2011 at 10:31:54PM +0200, Johannes Weiner wrote: > Without swap, anonymous pages are not scanned. As 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. I forgot to mention, this patch is a fix for '246e87a memcg: fix get_scan_count() for small targets', which went upstream this merge window. Probably makes sense to merge this one too before the release..? Sorry. -- 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