From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753559Ab1HQNiS (ORCPT ); Wed, 17 Aug 2011 09:38:18 -0400 Received: from gir.skynet.ie ([193.1.99.77]:53172 "EHLO gir.skynet.ie" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750887Ab1HQNiR (ORCPT ); Wed, 17 Aug 2011 09:38:17 -0400 Date: Wed, 17 Aug 2011 14:38:14 +0100 From: Mel Gorman 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 Subject: Re: [patch 1/2] mm: vmscan: fix force-scanning small targets without swap Message-ID: <20110817133814.GC4484@csn.ul.ie> References: <1313094715-31187-1-git-send-email-jweiner@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1313094715-31187-1-git-send-email-jweiner@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > Signed-off-by: Johannes Weiner Acked-by: Mel Gorman -- Mel Gorman SUSE Labs From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail6.bemta12.messagelabs.com (mail6.bemta12.messagelabs.com [216.82.250.247]) by kanga.kvack.org (Postfix) with ESMTP id B9DA8900138 for ; Wed, 17 Aug 2011 09:38:19 -0400 (EDT) Date: Wed, 17 Aug 2011 14:38:14 +0100 From: Mel Gorman Subject: Re: [patch 1/2] mm: vmscan: fix force-scanning small targets without swap Message-ID: <20110817133814.GC4484@csn.ul.ie> References: <1313094715-31187-1-git-send-email-jweiner@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1313094715-31187-1-git-send-email-jweiner@redhat.com> 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 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. > > Signed-off-by: Johannes Weiner Acked-by: Mel Gorman -- Mel Gorman SUSE Labs -- 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