On Mon, Dec 26, 2016 at 01:08:09PM +0200, Nikolay Borisov wrote:
> Use the newer and standardized functions when performing volatile
> accesses. Following text is taken from 4d3199e4ca8e
> ("locking: Remove ACCESS_ONCE() usage") :
> 
>     ACCESS_ONCE() does not work reliably on non-scalar types.
>     For example gcc 4.6 and 4.7 might remove the volatile tag
>     for such accesses during the SRA (scalar replacement of
>     aggregates) step:
>       https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145
> 
> Signed-off-by: Nikolay Borisov <[email protected]>

A patch fort that has been sent and queued already,
https://patchwork.kernel.org/patch/9476137/
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to