public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* v6.12 backport for psi: Fix race when task wakes up before psi_sched_switch() adjusts flags
@ 2025-02-04 15:31 Paul Kramme
  2025-02-04 17:25 ` Greg KH
  2025-02-04 19:48 ` Sasha Levin
  0 siblings, 2 replies; 3+ messages in thread
From: Paul Kramme @ 2025-02-04 15:31 UTC (permalink / raw)
  To: stable; +Cc: chengming.zhou, Bendix Bartsch

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

Thanks

Paul

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: v6.12 backport for psi: Fix race when task wakes up before psi_sched_switch() adjusts flags
  2025-02-04 15:31 v6.12 backport for psi: Fix race when task wakes up before psi_sched_switch() adjusts flags Paul Kramme
@ 2025-02-04 17:25 ` Greg KH
  2025-02-04 19:48 ` Sasha Levin
  1 sibling, 0 replies; 3+ messages in thread
From: Greg KH @ 2025-02-04 17:25 UTC (permalink / raw)
  To: Paul Kramme; +Cc: stable, chengming.zhou, Bendix Bartsch

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: v6.12 backport for psi: Fix race when task wakes up before psi_sched_switch() adjusts flags
  2025-02-04 15:31 v6.12 backport for psi: Fix race when task wakes up before psi_sched_switch() adjusts flags Paul Kramme
  2025-02-04 17:25 ` Greg KH
@ 2025-02-04 19:48 ` Sasha Levin
  1 sibling, 0 replies; 3+ messages in thread
From: Sasha Levin @ 2025-02-04 19:48 UTC (permalink / raw)
  To: Paul Kramme; +Cc: stable, chengming.zhou, Bendix Bartsch

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

Hey Paul,

The commit you've mentioned is already queued up, so it should be there
when the next release happens.

-- 
Thanks,
Sasha

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-02-04 19:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-04 15:31 v6.12 backport for psi: Fix race when task wakes up before psi_sched_switch() adjusts flags Paul Kramme
2025-02-04 17:25 ` Greg KH
2025-02-04 19:48 ` Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox