Re: [PATCH v5 1/2] cgroup: export cgroup_e_css()
From: Tejun Heo
Date: Sat Sep 26 2026 - 13:40:04 EST
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