lkml.org 
[lkml]   [2012]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] cgroup: fix to allow mounting a hierarchy by name
On Tue, Dec 27, 2011 at 02:25:55PM +0800, Li Zefan wrote:
> If we mount a hierarchy with a specified name, the name is unique,
> and we can use it to mount the hierarchy without specifying its
> set of subsystem names. This feature is documented is
> Documentation/cgroups/cgroups.txt section 2.3
>
> Here's an example:
>
> # mount -t cgroup -o cpuset,name=myhier xxx /cgroup1
> # mount -t cgroup -o name=myhier xxx /cgroup2
>
> But it was broken by commit 32a8cf235e2f192eb002755076994525cdbaa35a
> (cgroup: make the mount options parsing more accurate)
>
> This fixes the regression.
>
> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>

Applied to cgroup/for-3.3 w/ cc to stable added.

Thank you.

--
tejun


\
 
 \ /
  Last update: 2012-01-05 19:03    [W:2.399 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site