Messages in this thread | | | Date | Wed, 18 Jan 2012 13:36:38 -0800 | From | Tejun Heo <> | Subject | Re: [PATCH 2/2] cgroup: add xattr support |
| |
Hello,
On Wed, Jan 18, 2012 at 10:28:42PM +0100, Kay Sievers wrote: > The idea with the cgroup fs xattrs was to be able to attach some > general useful attributes to the 'service container' itself, instead > of keeping them in the memory of the managing process or store them on > disk which can get out-of-sync much easier.
Hmmm.... I can see the attraction but there really is nothing which binds that information to cgroup. The same information might as well live in /proc/PID/userland_data or whatever. It may be convenient now but I'm pretty skeptical it's a good idea in the long run.
Given that cgroups themselves need to be explicitly created and destroyed, maintaining a parallel tmpfs hierarchy for metadata, if necessary, shouldn't be too bothersome, right?
Thanks.
-- tejun
| |