From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [PATCH -mm] remove node_ prefix_from ns subsystem Date: Wed, 21 May 2008 22:06:57 -0700 Message-ID: <20080521220657.12e8e8c9.akpm@linux-foundation.org> References: <48344409.9090903@fr.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <48344409.9090903-NmTC/0ZBporQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Cedric Le Goater Cc: Linux Containers , Paul Menage , Linux Kernel Mailing List List-Id: containers.vger.kernel.org On Wed, 21 May 2008 17:47:21 +0200 Cedric Le Goater wrote: > From: Cedric Le Goater > > This is a slight change in the namespace cgroup subsystem api. > What are the reasons for making this change? > --- > kernel/cgroup.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Index: 2.6.26-rc2-mm1/kernel/cgroup.c > =================================================================== > --- 2.6.26-rc2-mm1.orig/kernel/cgroup.c > +++ 2.6.26-rc2-mm1/kernel/cgroup.c > @@ -2903,7 +2903,7 @@ int cgroup_clone(struct task_struct *tsk > cg = tsk->cgroups; > parent = task_cgroup(tsk, subsys->subsys_id); > > - snprintf(nodename, MAX_CGROUP_TYPE_NAMELEN, "node_%d", tsk->pid); > + snprintf(nodename, MAX_CGROUP_TYPE_NAMELEN, "%d", tsk->pid); > > /* Pin the hierarchy */ > atomic_inc(&parent->root->sb->s_active); This is user-visible, isn't it? Been there since October. How can we safely change it now?