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 ESMTP id 784666B0026 for ; Mon, 16 May 2011 19:15:55 -0400 (EDT) Date: Tue, 17 May 2011 01:15:12 +0200 From: Johannes Weiner Subject: Re: [PATCH] memcg: fix typo in the soft_limit stats. Message-ID: <20110516231512.GW16531@cmpxchg.org> References: <1305583230-2111-1-git-send-email-yinghan@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1305583230-2111-1-git-send-email-yinghan@google.com> 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 , Rik van Riel , Hugh Dickins , Michal Hocko , Dave Hansen , Zhu Yanhai , linux-mm@kvack.org On Mon, May 16, 2011 at 03:00:30PM -0700, Ying Han wrote: > This fixes the typo in the memory.stat including the following two > stats: > > $ cat /dev/cgroup/memory/A/memory.stat > total_soft_steal 0 > total_soft_scan 0 > > And change it to: > > $ cat /dev/cgroup/memory/A/memory.stat > total_soft_kswapd_steal 0 > total_soft_kswapd_scan 0 > > Signed-off-by: Ying Han I am currently proposing and working on a scheme that makes the soft limit not only a factor for global memory pressure, but for hierarchical reclaim in general, to prefer child memcgs during reclaim that are in excess of their soft limit. Because this means prioritizing memcgs over one another, rather than having explicit soft limit reclaim runs, there is no natural counter for pages reclaimed due to the soft limit anymore. Thus, for the patch that introduces this counter: Nacked-by: Johannes Weiner -- 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