RE: [RFC PATCH 0/8] Rework READ_ONCE() to improve codegen

From: David Laight
Date: Mon Jan 13 2020 - 06:20:58 EST


From: Will Deacon
> Sent: 10 January 2020 16:56
...
> The rough summary of the series is:
>
> * Drop the GCC 4.8 workarounds, so that READ_ONCE() is a
> straightforward dereference of a cast-to-volatile pointer.

What is the effect of using the changed code on older compilers (esp. x86-64)?
Requiring gcc > 4.8 is a significant bump.

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)