Re: [PATCH 3/3] netcls_cgroup: implement proper hierarchy support

From
Daniel Wagner <hidden>
Date
2012-11-19 19:17:42
Also in
lkml
Reply to
Tejun Heo, 2012-11-19
Hi Tejun,

On 19.11.2012 18:08, Tejun Heo wrote:
Hello, Daniel.

On Mon, Nov 19, 2012 at 02:47:06PM +0100, Daniel Wagner wrote:
quoted
On 17.11.2012 04:31, Tejun Heo wrote:
quoted
@@ -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.
Well, I though the rule is to keep API as stable as possible. On second
though this change will only extend the API, so for the existing
user base nothing changes.

Acked-by: Daniel Wagner <redacted>

thanks,
daniel
Thread (18 messages) 18 messages, 5 authors, last reply 2012-11-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help