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

From: Tejun Heo
Date: Tue Apr 22 2014 - 16:34:03 EST


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 no functional change.

netprio_cgroup is a cgroup identifying controller. We *do* want to
use per-cgroup IDs for it.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/