Hello, Vivek. On Tue, Jan 08, 2013 at 10:34:48AM -0500, Vivek Goyal wrote: > How does it help to map leaf weight to weight in root group. Old programs > anyway don't know about leaf_weight. So nobody is going to update it. And > if they update it, they better know what does it do. Because what cfq does before this patchset in flat hierarchy is basically treating root weight as the leaf weight. R:500 / \ A:250 B:750 Ratio of R is computed as 500 / (500 + 250 + 750). The root blkcg's tasks are competinig with the children blkcgs. This is currently the only supported config and we don't want to break existing users, so keeping root's weight and leaf_weight synchronized and ignoring root's weight, which BTW can't mean anything anyway as it doesn't have a parent or siblings, keeps the behavior unchanged for flat configs. Thanks. -- tejun _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/containers