From mboxrd@z Thu Jan 1 00:00:00 1970 From: Serge Hallyn Subject: Re: [PATCH 2/4] move cgroupfs_root to include/linux/cgroup.h Date: Sun, 14 Apr 2013 20:02:44 -0500 Message-ID: <20130415010244.GC8408@sergelap> References: <1365808259-31073-1-git-send-email-tj@kernel.org> <1365808259-31073-3-git-send-email-tj@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1365808259-31073-3-git-send-email-tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Tejun Heo Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, mhocko-AlSwsSmVLrQ@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, vgoyal-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org Quoting Tejun Heo (tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.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 Acked-by: Serge E. Hallyn