Re: [PATCH 3/4] netprio_cgroup: use accessor to get id from css

2014-04-22 Thread Tejun Heo
On Tue, Apr 22, 2014 at 02:31:01PM +0800, Jianyu Zhan wrote: > This is a prepared patch for converting from per-cgroup id to > per-subsystem id. > > We should not access per-cgroup id directly, since this is > implemetation detail. > > Use the accessor css_from_id() instead. > > This patch has n

Re: [PATCH 3/4] netprio_cgroup: use accessor to get id from css

2014-04-22 Thread Neil Horman
On Tue, Apr 22, 2014 at 02:31:01PM +0800, Jianyu Zhan wrote: > This is a prepared patch for converting from per-cgroup id to > per-subsystem id. > > We should not access per-cgroup id directly, since this is > implemetation detail. > > Use the accessor css_from_id() instead. > > This patch has n

[PATCH 3/4] netprio_cgroup: use accessor to get id from css

2014-04-21 Thread Jianyu Zhan
This is a prepared patch for converting from per-cgroup id to per-subsystem id. We should not access per-cgroup id directly, since this is implemetation detail. Use the accessor css_from_id() instead. This patch has no functional change. Signed-off-by: Jianyu Zhan --- net/core/netprio_cgroup.