Re: [GIT PULL] Add two-byte cmpxchg emulation function for v7.4

From: Paul E. McKenney

Date: Tue Oct 20 2026 - 15:21:38 EST


On Tue, Oct 20, 2026 at 07:54:38PM +0100, Bradley Morgan wrote:
> On 20 October 2026 19:48:32 BST, John Paul Adrian Glaubitz
> <glaubitz@xxxxxxxxxxxxxxxxxxx> wrote:
> >Hi Paul,
> >
> >On Fri, 2026-10-16 at 20:51 -0700, Paul E. McKenney wrote:
> >> However, it sadly does not permit easy implementation of all algorithms
> >> needing on two-byte atomic operations because there are some systems
> >still
> >> supported by Linux that do not have native two-byte store instructions.
> >> There is reason to believe that these systems will soon no longer be
> >> supported by Linux.
> >
> >Since this paragraph has produced a headline today [1], would you mind
> >clarifying what you meant here? What architectures are you talking about?
> >
> >Thanks,
> >Adrian
> >
> >> [1] https://www.phoronix.com/news/Linux-7.4-Two-Byte-CMPXCHG
>
> Annoyingly my name isn't on there :(

But your name is prominently mentioned in the pull request linked to by the
article.

> But I'm happy it IS a headline :)

Me, I am a bit surprised that this made Phoronix, especially given that
Linus hasn't pulled it yet. Perhaps there is someone out there who,
like a number of the commenters, got confused and read "architecture"
when both the article and the pull request said "system". ;-)

Thanx, Paul