Re: v6.12 backport for psi: Fix race when task wakes up before psi_sched_switch() adjusts flags

Greg KH
2025-02-04T17:26:02Z

On Tue, Feb 04, 2025 at 04:31:44PM +0100, Paul Kramme wrote:
> Hello,
>
> we are seeing broken CPU PSI metrics across our infrastructure running
> 6.12, with messages like "psi: inconsistent task state!
> task=1831:hackbench cpu=8 psi_flags=14 clear=0 set=4" in dmesg. I
> believe commit 7d9da040575b343085287686fa902a5b2d43c7ca might fix this
> issue.
>
> psi: Fix race when task wakes up before psi_sched_switch() adjusts flags

It is already queued up for the next 6.12.y release.

thanks,

greg k-h