Re: [PATCH cgroup/for-3.11] cgroup: reserve ID 0 for dummy_root and 1 for unified hierarchy

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

 



On Sat, Jun 22, 2013 at 09:30:41AM -0700, Tejun Heo wrote:
> Before 1a57423166 ("cgroup: make hierarchy_id use cyclic idr"),
> hierarchy IDs were allocated from 0.  As the dummy hierarchy was
> always the one first initialized, it got assigned 0 and all other
> hierarchies from 1.  The patch accidentally changed the minimum
> useable ID to 2.
> 
> Let's restore ID 0 for dummy_root and while at it reserve 1 for
> unified hierarchy.
> 
> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx

Applied to cgroup/for-3.11.

Thanks.

-- 
tejun
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/containers




[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux