From mboxrd@z Thu Jan 1 00:00:00 1970 From: KAMEZAWA Hiroyuki Subject: Re: [patch] Documentation: memcg: future proof hierarchical statistics documentation Date: Wed, 25 Apr 2012 08:51:02 +0900 Message-ID: <4F973C66.2090307@jp.fujitsu.com> References: <1335296038-29297-1-git-send-email-hannes@cmpxchg.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1335296038-29297-1-git-send-email-hannes-druUgvl0LCNAfugRpC6u6w@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Johannes Weiner Cc: Andrew Morton , Michal Hocko , KOSAKI Motohiro , Ying Han , linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org (2012/04/25 4:33), Johannes Weiner wrote: > The hierarchical versions of per-memcg counters in memory.stat are all > calculated the same way and are all named total_. > > Documenting the pattern is easier for maintenance than listing each > counter twice. > > Signed-off-by: Johannes Weiner > Acked-by: Michal Hocko > Acked-by: KOSAKI Motohiro > Acked-by: Ying Han I'm fine with this. Acked-by: KAMEZAWA Hiroyuki From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx160.postini.com [74.125.245.160]) by kanga.kvack.org (Postfix) with SMTP id BC3936B0092 for ; Tue, 24 Apr 2012 19:52:52 -0400 (EDT) Received: from m3.gw.fujitsu.co.jp (unknown [10.0.50.73]) by fgwmail5.fujitsu.co.jp (Postfix) with ESMTP id E53723EE0BC for ; Wed, 25 Apr 2012 08:52:50 +0900 (JST) Received: from smail (m3 [127.0.0.1]) by outgoing.m3.gw.fujitsu.co.jp (Postfix) with ESMTP id CF7A845DE9E for ; Wed, 25 Apr 2012 08:52:50 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (s3.gw.fujitsu.co.jp [10.0.50.93]) by m3.gw.fujitsu.co.jp (Postfix) with ESMTP id B8F2B45DE7E for ; Wed, 25 Apr 2012 08:52:50 +0900 (JST) Received: from s3.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id A93EB1DB803B for ; Wed, 25 Apr 2012 08:52:50 +0900 (JST) Received: from m105.s.css.fujitsu.com (m105.s.css.fujitsu.com [10.240.81.145]) by s3.gw.fujitsu.co.jp (Postfix) with ESMTP id 642C61DB8038 for ; Wed, 25 Apr 2012 08:52:50 +0900 (JST) Message-ID: <4F973C66.2090307@jp.fujitsu.com> Date: Wed, 25 Apr 2012 08:51:02 +0900 From: KAMEZAWA Hiroyuki MIME-Version: 1.0 Subject: Re: [patch] Documentation: memcg: future proof hierarchical statistics documentation References: <1335296038-29297-1-git-send-email-hannes@cmpxchg.org> In-Reply-To: <1335296038-29297-1-git-send-email-hannes@cmpxchg.org> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Johannes Weiner Cc: Andrew Morton , Michal Hocko , KOSAKI Motohiro , Ying Han , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org (2012/04/25 4:33), Johannes Weiner wrote: > The hierarchical versions of per-memcg counters in memory.stat are all > calculated the same way and are all named total_. > > Documenting the pattern is easier for maintenance than listing each > counter twice. > > Signed-off-by: Johannes Weiner > Acked-by: Michal Hocko > Acked-by: KOSAKI Motohiro > Acked-by: Ying Han I'm fine with this. Acked-by: KAMEZAWA Hiroyuki -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758639Ab2DXXwx (ORCPT ); Tue, 24 Apr 2012 19:52:53 -0400 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:48846 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757003Ab2DXXww (ORCPT ); Tue, 24 Apr 2012 19:52:52 -0400 X-SecurityPolicyCheck: OK by SHieldMailChecker v1.7.4 Message-ID: <4F973C66.2090307@jp.fujitsu.com> Date: Wed, 25 Apr 2012 08:51:02 +0900 From: KAMEZAWA Hiroyuki User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: Johannes Weiner CC: Andrew Morton , Michal Hocko , KOSAKI Motohiro , Ying Han , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [patch] Documentation: memcg: future proof hierarchical statistics documentation References: <1335296038-29297-1-git-send-email-hannes@cmpxchg.org> In-Reply-To: <1335296038-29297-1-git-send-email-hannes@cmpxchg.org> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (2012/04/25 4:33), Johannes Weiner wrote: > The hierarchical versions of per-memcg counters in memory.stat are all > calculated the same way and are all named total_. > > Documenting the pattern is easier for maintenance than listing each > counter twice. > > Signed-off-by: Johannes Weiner > Acked-by: Michal Hocko > Acked-by: KOSAKI Motohiro > Acked-by: Ying Han I'm fine with this. Acked-by: KAMEZAWA Hiroyuki