Re: [PATCH v2 4/4] x86/percpu: Use C for percpu read/write accessors

From: Linus Torvalds
Date: Wed Oct 04 2023 - 16:13:06 EST


On Wed, 4 Oct 2023 at 13:08, Uros Bizjak <ubizjak@xxxxxxxxx> wrote:
>
> You get a store forwarding stall when you write a bigger operand to
> memory and then read part of it, if the smaller part doesn't start at
> the same address.

I don't think that has been true for over a decade now.

Afaik, any half-way modern Intel and AMD cores will forward any fully
contained load.

The whole "same address" was a P4 thing, iirc.

Linus