Re: [PATCH v10 00/10] x86: Quiesce text_poke() IPIs

From: Dave Hansen

Date: Mon Nov 30 2026 - 12:55:46 EST


On 11/30/26 09:44, Steven Rostedt wrote:
> On Mon, 30 Nov 2026 09:31:55 -0800 Dave Hansen <dave.hansen@xxxxxxxxx> wrote:
>> On 11/27/26 12:12, Valentin Schneider wrote:
>>> So yeah, thoughts welcome here!
>> My first thought is that it's not worth it. Want to skip text patching
>> IPIs? Get a Meltdown-free CPU.
> Hmm, how does that help?

I honestly don't mean to be dismissive about it. There are natural
limits to how far we're willing to push the kernel to achieve a given
goal. Think of the 4G/4G kernel patches [1] for example.

There were two ways to get 64GB of RAM on x86 in those days: Run the
4G/4G patches or get an x86_64 CPU. The upstream kernel path was "get an
x86_64 CPU".

So, how do we avoid text_poke() IPIs? There are two paths I see:

A. Get a Meltdown-free CPU.
Pro: Simpler kernel maintenance forever
Con: Lots of otherwise-fine CPUs can't avoid the IPIs
B. Merge something like this series
Pro: Old CPUs are free of text_poke() IPIs
Con: A harder to maintain kernel forever

So, how does it help to just throw out all the old CPUs? It makes
maintaining this chunk of the kernel easier forever.

1. https://lwn.net/Articles/39283/