From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Alejandro Vallejo <alejandro.garciavallejo@amd.com>
Cc: xen-devel@lists.xenproject.org, Jan Beulich <jbeulich@suse.com>,
Andrew Cooper <andrew.cooper3@citrix.com>
Subject: Re: [PATCH v2] x86: Use 32-bit counter for TLB clock on debug builds
Date: Tue, 13 Jan 2026 15:17:29 +0100 [thread overview]
Message-ID: <aWZT-fGptBd58cAD@Mac.lan> (raw)
In-Reply-To: <20260113120959.55156-1-alejandro.garciavallejo@amd.com>
On Tue, Jan 13, 2026 at 01:09:58PM +0100, Alejandro Vallejo wrote:
> Debug builds traditionally ship with a 10-bit counter for the TLB
> clock. This forces global TLB shootdowns with high frequency, making
> debug builds unsuitable for any form of real time testing.
>
> Remove this quirk, unifying release and debug under a wide counter.
I wonder if it makes any sense to provide this as a Kconfig tunable,
set to 32bit width for both debug and release builds?
Not sure whether there's a ton of interest in stressing the flushing
however, and by then it's a small hack to adjust the code itself.
Regards, Roger.
next prev parent reply other threads:[~2026-01-13 14:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-13 12:09 [PATCH v2] x86: Use 32-bit counter for TLB clock on debug builds Alejandro Vallejo
2026-01-13 12:43 ` Andrew Cooper
2026-01-13 14:17 ` Roger Pau Monné [this message]
2026-01-13 14:18 ` Andrew Cooper
2026-01-13 14:26 ` Roger Pau Monné
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=aWZT-fGptBd58cAD@Mac.lan \
--to=roger.pau@citrix.com \
--cc=alejandro.garciavallejo@amd.com \
--cc=andrew.cooper3@citrix.com \
--cc=jbeulich@suse.com \
--cc=xen-devel@lists.xenproject.org \
/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.