From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Weiner Subject: Re: [PATCH] rename MEM_CGROUP_STAT_SWAPOUT as MEM_CGROUP_STAT_NR_SWAP Date: Fri, 1 Jun 2012 18:53:20 +0200 Message-ID: <20120601165320.GA1761@cmpxchg.org> References: <4FC89BC4.9030604@jp.fujitsu.com> Mime-Version: 1.0 Return-path: Content-Disposition: inline In-Reply-To: <4FC89BC4.9030604-+CUm20s59erQFUHtdCDX3A@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Kamezawa Hiroyuki Cc: linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, mhocko-AlSwsSmVLrQ@public.gmane.org, akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org On Fri, Jun 01, 2012 at 07:39:00PM +0900, Kamezawa Hiroyuki wrote: > MEM_CGROUP_STAT_SWAPOUT represents the usage of swap rather than > the number of swap-out events. Rename it to be MEM_CGROUP_STAT_NR_SWAP. > > Signed-off-by: KAMEZAWA Hiroyuki Wouldn't MEM_CGROUP_STAT_SWAP be better? It's equally descriptive but matches the string. And we also don't have NR_ for cache, rss, mapped file etc.