[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6599ad830802281406s512ee32bkeb2b0387a7737a87@mail.gmail.com>
Date: Thu, 28 Feb 2008 14:06:44 -0800
From: "Paul Menage" <menage@...gle.com>
To: serge@...lyn.com
Cc: "Andrew Morton" <akpm@...ux-foundation.org>,
containers@...ts.osdl.org, linux-kernel@...r.kernel.org,
balbir@...ux.vnet.ibm.com, a.p.zijlstra@...llo.nl,
xemul@...nvz.org, pj@....com
Subject: Re: [RFC] Prefixing cgroup generic control filenames with "cgroup."
On Thu, Feb 28, 2008 at 1:33 PM, <serge@...lyn.com> wrote:
>
> You said the set of files belong to cgroup itself is likely to increase
> - do you have some candidates in mind?
Nothing concrete right now. One example that I already proposed was
the "cgroup.api" file but that's shelved for now, until such time as I
actually propose the binary API that it was intended to help support.
> Perhaps ones which are likely
> to conflict with choice taskgroup names?
It's hard to determine what likely taskgroup names would be. For my
own use, pretty much every group has a unique 64-bit ID in the name so
this isn't something I worry about directly affecting our systems. But
I don't know what other users might want to do.
>
> If anything I'd say add a 'prefix_cgroup' mount option and use it to
> decide whether to prefix or not (rather than use the noprefix option).
The existing "noprefix" option controls whether the *subsystems* get
prefixes. It's mainly there to provide backwards compatibility for
cpusets. Existing cpusets clients would be expecting to find files
with names like "mems_allowed" rather than "cpuset.mems_allowed". So
mounting with the "noprefix" option (which happens automatically when
you mount the "cpuset" filesystem wrapper) gives the same result as
before.
Currently "noprefix" has no effect on cgroup files, since they never
have a prefix anyway.
Yes, we could add a new mount option "prefixcgroup", and let people
decide which they want. But I still don't see any argument *against*
doing the prefixing automatically (rather than an argument that it's
no better or worse) other than wanting 2.6.24 compatibility.
Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists