[PATCH 2/4] move cgroupfs_root to include/linux/cgroup.h

Serge Hallyn serge.hallyn at ubuntu.com
Mon Apr 15 01:02:44 UTC 2013


Quoting Tejun Heo (tj at kernel.org):
> While controllers shouldn't be accessing cgroupfs_root directly, it
> being hidden inside kern/cgroup.c makes somethings pretty silly.  This
> makes routing hierarchy-wide settings which need to be visible to
> controllers cumbersome.
> 
> We're gonna add another hierarchy-wide setting which needs to be
> accessed from controllers.  Move cgroupfs_root and its flags to the
> header file so that we can access root settings with inline helpers.
> 
> Signed-off-by: Tejun Heo <tj at kernel.org>

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>


More information about the Containers mailing list