MINOR: ring: it's not x86 but all non-ARMv8.1 which needs the read before OR
authorWilly Tarreau <w@1wt.eu>
Sun, 17 Mar 2024 15:55:09 +0000 (16:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 25 Mar 2024 17:34:19 +0000 (17:34 +0000)
commit39df8c903d65303542a56d0be15f8c6039a75cdd
tree66ddad3976c5b142c85563e5e95629c4366a1682
parente6fc167aecab1eec051c4e27505f38439c4dfcea
MINOR: ring: it's not x86 but all non-ARMv8.1 which needs the read before OR

Archs relying on CAS benefit from a read prior to FETCH_OR, so it's
not just x86 that benefits from this. Let's just change the condition
to only exclude __ARM_FEATURE_ATOMICS which is the only one faster
without.
src/ring.c