From: Johannes Weiner <hannes@cmpxchg.org>
To: Peter Zijlstra <peterz@infradead.org>
Cc: David Stevens <stevensd@google.com>,
Suren Baghdasaryan <surenb@google.com>,
Ingo Molnar <mingo@redhat.com>,
K Prateek Nayak <kprateek.nayak@amd.com>,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] sched/psi: clamp negative cpu_clock() skew
Date: Wed, 30 Sep 2026 10:22:52 -0400 [thread overview]
Message-ID: <ar0bPEyD5CBK331p@cmpxchg.org> (raw)
In-Reply-To: <20260929081740.GH4121620@noisy.programming.kicks-ass.net>
On Tue, Sep 29, 2026 at 10:17:40AM +0200, Peter Zijlstra wrote:
> On Tue, Sep 29, 2026 at 10:10:04AM +0200, Peter Zijlstra wrote:
>
> > > When running browser workloads on an Intel N100 with a sustained
> > > psi.mem.some of 2-3%, this underflow is observed once every couple of
> > > hours.
>
> Reading is hard. This is sad, that's a relatively modern chip :-(
I'm still struggling, but I'm under the weather so bear with me.
That's a cpu_clock() implementation issue, right? "The value for
cpu_clock(i) is monotonic for constant i". Presumably violating that
would be a problem beyond psi?
next prev parent reply other threads:[~2026-09-30 14:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-28 23:37 [PATCH] sched/psi: clamp negative cpu_clock() skew David Stevens
2026-09-29 8:10 ` Peter Zijlstra
2026-09-29 8:17 ` Peter Zijlstra
2026-09-30 14:22 ` Johannes Weiner [this message]
2026-09-30 15:19 ` Peter Zijlstra
2026-09-30 15:30 ` David Stevens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ar0bPEyD5CBK331p@cmpxchg.org \
--to=hannes@cmpxchg.org \
--cc=kprateek.nayak@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=stable@vger.kernel.org \
--cc=stevensd@google.com \
--cc=surenb@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.