Re: [RFC] Prefixing cgroup generic control filenames with "cgroup."
From: Andrew Morton
Date: Thu Feb 28 2008 - 16:41:16 EST
On Thu, 28 Feb 2008 13:28:31 -0800
"Paul Menage" <menage@xxxxxxxxxx> wrote:
> On Thu, Feb 28, 2008 at 1:21 PM, Andrew Morton
> <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> >
> > Because if something is in /foo/bar/cgroup/notify_on_release then
> > prefixing the filename with "cgroup_" seems pretty pointless.
> >
>
> The point would be to avoid situations where a user has code that
> creates a group directory called "foo", and then in a future kernel
> release cgroups introduces a control file called "foo". If it's
> prefixed, then the user just has to avoid creating groups prefixed by
> "cgroup." or any subsystem name, so collisions will be less likely.
>
Maybe cgroups shouldn't be putting kernel-generated files in places where
user-specified files appear?
(Am still thrashing around a bit here without an overview of the overall
layout and naming).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/