Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753504Ab3C0QTK (ORCPT ); Wed, 27 Mar 2013 12:19:10 -0400 Received: from cantor2.suse.de ([195.135.220.15]:58935 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752543Ab3C0QTI (ORCPT ); Wed, 27 Mar 2013 12:19:08 -0400 Date: Wed, 27 Mar 2013 17:19:05 +0100 From: Michal Hocko To: Tejun Heo Cc: Glauber Costa , Li Zefan , KAMEZAWA Hiroyuki , Johannes Weiner , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] memcg: fix memcg_cache_name() to use cgroup_name() Message-ID: <20130327161905.GN16579@dhcp22.suse.cz> References: <1364373399-17397-1-git-send-email-mhocko@suse.cz> <20130327161527.GA7395@htj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130327161527.GA7395@htj.dyndns.org> 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 Content-Length: 743 Lines: 21 On Wed 27-03-13 09:15:27, Tejun Heo wrote: > On Wed, Mar 27, 2013 at 09:36:39AM +0100, Michal Hocko wrote: > > +/* > > + * Called with memcg_cache_mutex held > > + */ > > static struct kmem_cache *kmem_cache_dup(struct mem_cgroup *memcg, > > struct kmem_cache *s) > > Maybe the name could signify it's part of memcg? kmem_ prefix is used for all CONFIG_MEMCG_KMEM functions. I understand it clashes with sl?b naming but this is out of scope of this patch IMO. -- Michal Hocko SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/