Re: [PATCH 2/2] cgroup: Avoid extra dereference in css_populate_dir()

From: Tejun Heo
Date: Mon Sep 18 2023 - 14:58:23 EST


On Tue, Sep 12, 2023 at 12:34:35PM +0530, Kamalesh Babulal wrote:
> Use css directly instead of dereferencing it from &cgroup->self, while
> adding the cgroup v2 cft base and psi files in css_populate_dir(). Both
> points to the same css, when css->ss is NULL, this avoids extra deferences
> and makes code consistent in usage across the function.
>
> Signed-off-by: Kamalesh Babulal <kamalesh.babulal@xxxxxxxxxx>

Applied to cgroup/for-6.7.

Thanks.

--
tejun