login
Header Space

 
 

Re: [RFC] Prefixing cgroup generic control filenames with "cgroup."

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: <containers@...>, <linux-kernel@...>, <balbir@...>, <a.p.zijlstra@...>, <xemul@...>, <pj@...>
Date: Thursday, February 28, 2008 - 6:26 pm

On Thu, Feb 28, 2008 at 2:21 PM, Andrew Morton
<akpm@linux-foundation.org> wrote:

I'll put a patch together for consideration.


That's something like putting them all in their own sub-directory, but
sounds less clean to me.


We already have something like that in place, actually.

When you mount the legacy "cpuset" filesystem, it just passes through
to the cgroup filesystem with the mount options "cpuset,noprefix",
i.e. mount a cgroups hierarcy with just cpusets bound to it, and
*don't* prefix subsystem control files with the subsystem name. It
wouldn't be hard to also have a "nosubdir" mount option that keeps the
existing single-level style, have the cpuset filessytem pass that
option.

Paul
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC] Prefixing cgroup generic control filenames with "c..., Paul Menage, (Thu Feb 28, 6:26 pm)
speck-geostationary