[PATCH v5 1/2] cgroup: export cgroup_e_css()

Tejun Heo tj at kernel.org
Sat Sep 26 10:38:12 PDT 2026


Hello, Peng.

On Fri, Sep 25, 2026 at 11:33:27PM -0700, Peng Yu wrote:
> The nvmet invokes the cgroup_e_css for each bio and under
> the rcu protection.

cgroup_e_css() walks up the hierarchy to find the effective css, and I
don't think we want to do that on every IO. Can you update cgroup core to
track the effective css in each cgroup and make cgroup_e_css() use that
instead?

Thanks.

-- 
tejun



More information about the Linux-nvme mailing list