Re: [PATCH 8/9] cgroup: move number_of_cgroups test out of rebind_subsystems() into cgroup_remount()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2013/6/29 7:45, Tejun Heo wrote:
> rebind_subsystems() currently fails if the hierarchy has any !root
> cgroups; however, on the planned unified hierarchy,
> rebind_subsystems() will be used while populated.  Move the test to
> cgroup_remount(), which is the only place the test is necessary
> anyway.
> 
> As it's impossible for the other two callers of rebind_subsystems() to
> have populated hierarchy, this doesn't make any behavior changes.
> 
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>

Acked-by: Li Zefan <lizefan@xxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux