Hello, On Sat, Jan 30, 2016 at 10:03:58AM +0100, James Bottomley wrote: > Probably out of scope for LSF/MM but this does beg the question of why > traffic control in block is done by a cgroup but not in net ... I think > the answer is "historical reasons", but if the net traffic classifiers > at least were cgroups, we might get more sharing between net and block > traffic control. Network was dynamic and configurable way before cgroup came along and thus has its own naming, classification and control schemems, so it makes sense for cgroup to just hook into the existing facilities. So, it's partially historical but that's not the whole story. cgroup membership is but a tiny portion of how network traffic is shaped and routed - e.g. the destination address, port or packet type are factors too. cgroup can't slurp in all those. It has to be one part of the pieces that the networking stack considers. Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html