lkml.org 
[lkml]   [2008]   [May]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -mm] remove node_ prefix_from ns subsystem
Andrew Morton wrote:
> On Thu, 22 May 2008 00:11:56 -0700 "Paul Menage" <menage@google.com> wrote:
>
>> On Wed, May 21, 2008 at 10:06 PM, Andrew Morton
>> <akpm@linux-foundation.org> wrote:
>>>> --- 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?
>> It is user-visible, but I'd be extremely surprised if anyone was
>> depending on it or even using it at this point.
>
> After six months?

yes that's what we believe also.

> Oh well, I guess the number is small, and they'll know how to fix it.
>
> What is the reason for making this change?

the 'node_' prefix really is superfluous and misleading. what's a node ?

C.


\
 
 \ /
  Last update: 2008-05-22 09:39    [W:0.036 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site