mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Yuan Wang <yuan1.wang@intel.com>,
	Miroslav Lichvar <mlichvar@redhat.com>,
	 John Stultz <jstultz@google.com>,
	Thomas Gleixner <tglx@kernel.org>
Cc: jie.wang@intel.com, yifan2.li@intel.com, junxiao.chang@intel.com,
	Stephen Boyd <sboyd@kernel.org>,
	Richard Cochran <richardcochran@gmail.com>,
		linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH 0/1] timekeeping: Don't charge NTP frequency changes to ntp_error
Date: Thu, 05 Nov 2026 08:29:09 -0800	[thread overview]
Message-ID: <d0fc242d799bf0165b6dd83ce2808acea14b4d32.camel@infradead.org> (raw)
In-Reply-To: <cd23df8dde221a908233b5dfde548383991b4537.camel@amazon.co.uk>

[-- Attachment #1: Type: text/plain, Size: 1233 bytes --]

On Wed, 2026-11-04 at 20:29 -0800, Woodhouse, David wrote:
> On Thu, 2026-11-05 at 11:21 +0800, Yuan Wang wrote:
> > 
> > Open question, mainly for David: if timekeeping_set_reference() (ffclock
> > branch) changes tick_length, it would now also be applied "at the time of
> > the update". If that path needs the as-if-at-tick semantics, I'd suggest
> > it delivers the phase through time_offset (which the series now makes
> > exact) or passes an explicit flag down to timekeeping_adjust(); happy to
> > rework the patch either way.
> 
> Yeah, timekeeping_set_reference() doesn't care. It's going to reset
> ntp_error *after* changing the tick_length anyway.
> 
> I think your patch is functionally identical to the one I've already
> posted in 
> https://lore.kernel.org/all/20261001202134.33929-2-dwmw2@infradead.org/ ?

Not *quite* functionally identical; I think your version misses the
ntp_error updates that we *should* be doing, when tick_length changes
while a skew is active? Mine compensates only for the tick_length part,
which I think is correct?

I'm due to send v2 of that series; please could you test that, and I'll
add the appropriate Fixes: and Cc: stable with your Tested-by:.

Thanks.

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 6179 bytes --]

      parent reply	other threads:[~2026-11-05 16:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-05  3:21 Yuan Wang
2026-11-05  3:21 ` [RFC PATCH 1/1] " Yuan Wang
     [not found] ` <cd23df8dde221a908233b5dfde548383991b4537.camel@amazon.co.uk>
2026-11-05 16:29   ` David Woodhouse [this message]

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=d0fc242d799bf0165b6dd83ce2808acea14b4d32.camel@infradead.org \
    --to=dwmw2@infradead.org \
    --cc=jie.wang@intel.com \
    --cc=jstultz@google.com \
    --cc=junxiao.chang@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mlichvar@redhat.com \
    --cc=richardcochran@gmail.com \
    --cc=sboyd@kernel.org \
    --cc=tglx@kernel.org \
    --cc=yifan2.li@intel.com \
    --cc=yuan1.wang@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®