[PATCH] io: prevent compiler reordering on the default writeX() implementation
Sinan Kaya
okaya at codeaurora.org
Fri Mar 30 07:46:05 PDT 2018
On 3/30/2018 10:29 AM, Sinan Kaya wrote:
> In the abscence of a write barrier or when using a strongly ordered
> architecture, writeX() should at least have a compiler barrier in
> it to prevent commpiler from clobbering the execution order.
Same is true for readX(). I'll wait for review feedback on this before
posting another change for readX().
--
Sinan Kaya
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
More information about the linux-arm-kernel
mailing list