Re: [PATCH v3] rust: page: add byte-wise atomic memory copy methods
From: Peter Zijlstra
Date: Fri Feb 13 2026 - 09:36:11 EST
On Fri, Feb 13, 2026 at 01:45:28PM +0100, Andreas Hindborg wrote:
> > And same comment as for v2, none of this makes sense. Byte loads are not
> > magically atomic. And they don't actually fix anything.
>
> I am curious about on what architectures byte loads can tear?
That's not the point. It's just a byte load, not an atomic byte load.
Unless you're thinking of using load-exclusive or something along those
lines; but that would be completely insane, nor actually solve the
problem.