From: Dhaval Giani <dhaval@linux.vnet.ibm.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org,
containers@lists.linux-foundation.org, menage@google.com,
lizf@cn.fujitsu.com, balbir@linux.vnet.ibm.com
Subject: Re: [PATCH 1/2] cgroup allow subsys to set default mode of its own file
Date: Fri, 27 Feb 2009 10:38:24 +0530 [thread overview]
Message-ID: <20090227050823.GA11860@linux.vnet.ibm.com> (raw)
In-Reply-To: <20090227092031.f42cbbbe.kamezawa.hiroyu@jp.fujitsu.com>
On Fri, Feb 27, 2009 at 09:20:31AM +0900, KAMEZAWA Hiroyuki wrote:
> On Thu, 26 Feb 2009 13:00:05 -0800
> Andrew Morton <akpm@linux-foundation.org> wrote:
>
> > On Wed, 25 Feb 2009 16:35:55 +0900
> > KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:
> >
> > > When I wrote tools for maintain cgroup, I can't find which file is
> > > writable intarfece or not via cgroup file systems. (finally, I did
> > > dirty approach.)
> > > IMHO, showing "this file is read-only" in explicit way is useful
> > > for user-land (tools). In other story, a file whose name sounds read-only
> > > may have "trigger" operation and support reseting. In this case,
> > > "writable" is informative.
> >
> > Well, we have compatibility issues here. If we make this change, and
> > people write tools which depend upon that change then those tools might
> > break when run upon older kernels. Or they need back-compatibility
> > additions, which increases the testing burden of those tools.
> >
> > One way in which we could improve this situation is to backport these
> > changes into earlier kernels, although I don't know which versions.
> >
> > What do we think?
> >
> It sounds problem to me.
>
> Hmm..1st commit to kernel/cgroup.c is 2007-10-19, then 2.6.24 is the oldest one.
> But I think distro's tools for cgroup is not as old as...
> Hmm, backport to 2.6.25 is enough ?
> Balbir, how do you think ? I think you are familiar with libcgroup.
>
I would like to have this backported to at least the distro kernels.
thanks,
--
regards,
Dhaval
next prev parent reply other threads:[~2009-02-27 5:09 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-25 7:35 [PATCH 1/2] cgroup allow subsys to set default mode of its own file KAMEZAWA Hiroyuki
2009-02-25 7:37 ` [PATCH 2/2] cgroup/memcg show correct file mode KAMEZAWA Hiroyuki
[not found] ` <20090225163729.cc43bd5c.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2009-02-25 8:03 ` Balbir Singh
2009-02-25 8:03 ` Balbir Singh
2009-02-25 8:09 ` Dhaval Giani
[not found] ` <20090225080329.GE11421-SINUvgVNF2CyUtPGxGje5AC/G2K4zDHf@public.gmane.org>
2009-02-25 8:09 ` Dhaval Giani
2009-02-25 8:01 ` [PATCH 1/2] cgroup allow subsys to set default mode of its own file Li Zefan
[not found] ` <20090225163555.d2a0b24c.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2009-02-25 7:37 ` [PATCH 2/2] cgroup/memcg show correct file mode KAMEZAWA Hiroyuki
2009-02-25 8:01 ` [PATCH 1/2] cgroup allow subsys to set default mode of its own file Li Zefan
2009-02-25 8:03 ` Balbir Singh
2009-02-25 8:03 ` Balbir Singh
2009-02-26 21:00 ` Andrew Morton
2009-02-26 21:00 ` Andrew Morton
2009-02-27 0:20 ` KAMEZAWA Hiroyuki
[not found] ` <20090227092031.f42cbbbe.kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2009-02-27 5:08 ` Dhaval Giani
2009-02-27 5:12 ` Balbir Singh
2009-02-27 5:08 ` Dhaval Giani [this message]
2009-02-27 5:12 ` Balbir Singh
2009-02-27 0:28 ` Paul Menage
[not found] ` <6599ad830902261628k4ce8e1aflb7981672562801fb-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-02-27 0:38 ` KAMEZAWA Hiroyuki
2009-02-27 0:40 ` Li Zefan
2009-02-27 0:38 ` KAMEZAWA Hiroyuki
2009-02-27 0:40 ` Li Zefan
[not found] ` <20090226130005.3282cb02.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2009-02-27 0:20 ` KAMEZAWA Hiroyuki
2009-02-27 0:28 ` Paul Menage
-- strict thread matches above, loose matches on Subject: below --
2009-02-25 7:35 KAMEZAWA Hiroyuki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090227050823.GA11860@linux.vnet.ibm.com \
--to=dhaval@linux.vnet.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=balbir@linux.vnet.ibm.com \
--cc=containers@lists.linux-foundation.org \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lizf@cn.fujitsu.com \
--cc=menage@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.