From: Tejun Heo Subject: Re: [PATCH 3/3] netcls_cgroup: implement proper hierarchy support Date: Mon, 19 Nov 2012 09:08:59 -0800 Message-ID: <20121119170859.GI15971@htj.dyndns.org> References: <1353123062-23193-1-git-send-email-tj@kernel.org> <1353123062-23193-4-git-send-email-tj@kernel.org> <50AA385A.90503@monom.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=M86RQLzgiU5qpREzBmbKIpEqjJnjgXb8hxpYuyOkCyo=; b=KhHw4g1kS+Z2V28tcRUAyWdzWPF/pwyX13uC4Ev61dZZ5J6nZGQ8HppfT0nHSpJe9x 8GuGItqgzFEcAPIAXXCXwu41rNSM9sQU0K4n6j0TItrQc1HPbY/ypFo8nXp0I+xM/S89 RChBJDcQVu2CDwnM5paWXPtCfaBlreA2lhMD8cl02trF4/F7o6snjdthtuoQZzfMVRQo ettZ6f2F7hBxxIxweytp2QziBmQLfk5WxjX15d7/FVvASsXxs/r0dnD1veWc7e/U2JTP xPHBSAN0IMdThU7RPxGJ4epmMnFsVQVM/5fhLIwkoo0EcSSSALlwrtLrXLjHne+W90CQ jC/A== Content-Disposition: inline In-Reply-To: <50AA385A.90503-kQCPcA+X3s7YtjvyW6yDsg@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: Daniel Wagner Cc: nhorman-2XuSBdqkA4R54TAoqtyWWQ@public.gmane.org, containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org, tgraf-G/eBtMaohhA@public.gmane.org, cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org Hello, Daniel. On Mon, Nov 19, 2012 at 02:47:06PM +0100, Daniel Wagner wrote: > On 17.11.2012 04:31, Tejun Heo wrote: > >@@ -112,15 +161,6 @@ struct cgroup_subsys net_cls_subsys = { > > .subsys_id = net_cls_subsys_id, > > .base_cftypes = ss_files, > > .module = THIS_MODULE, > >- > >- /* > >- * While net_cls cgroup has the rudimentary hierarchy support of > >- * inheriting the parent's classid on cgroup creation, it doesn't > >- * properly propagates config changes in ancestors to their > >- * descendents. A child should follow the parent's configuration > >- * but be allowed to override it. Fix it and remove the following. > >- */ > >- .broken_hierarchy = true, > > }; > > Are you sure you want to set the default to false at this point? Hmmm.... why not? It's now implementing proper hierarchy behavior. Thanks. -- tejun