Thread (3 messages) 3 messages, 2 authors, 2018-03-30

[PATCH] io: prevent compiler reordering on the default writeX() implementation

From: Sinan Kaya <hidden>
Date: 2018-03-30 14:46:10
Also in: linux-arch, linux-arm-msm, lkml

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help