Re: [PATCH v2] sched/psi: fix race between file release and pressure write
From: Tejun Heo
Date: Sat Apr 11 2026 - 03:40:03 EST
Hello, Edward.
On Sat, Apr 11, 2026 at 12:25:47PM +0800, Edward Adam Davis wrote:
> > > + ctx = of->priv;
> > > + if (!ctx) {
> >
> > This test likely isn't necessary but that's pre-existing.
> Where?
> Are you referring to the check for of->released within:
No, I'm talking about of->priv. I don't think it can be NULL while a live
cgroup kn is locked, can it?
Thanks.
--
tejun