[PATCH v13 4/6] nptl: Introduce RSEQ_GETMEM_VOLATILE and RSEQ_SETMEM

Florian Weimer fweimer@redhat.com
Tue Nov 19 23:45:29 GMT 2024


* Michael Jeanson:

> Currently the only 64bit field is rseq_cs and we don't use it since there
> are no rseq critical sections in glibc yet. For this patch series we could
> simply _Static_assert when size == 8 and then add a proper implementation
> when we do start using rseq_cs.

The upper half of rseq_cs will be stuck at 0 on 32-bit platforms, right?
So there is no actual need for 64-bit atomics, it's just an oddity
resulting from the programming interface.

Thanks,
Florian



More information about the Libc-alpha mailing list