aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorSinan Kaya <[email protected]>2018-03-25 10:39:15 -0400
committerDavid S. Miller <[email protected]>2018-03-26 12:47:55 -0400
commit3c95c567322e1dfaa7e0348171181aaf63aa6049 (patch)
tree23e2ebcebaba2d72a4aa0be225eaed147658a741 /net/unix/sysctl_net_unix.c
parent14ef85b431feea48987a1082d6f4f3855a3badb5 (diff)
net: qla3xxx: Eliminate duplicate barriers on weakly-ordered archs
Code includes wmb() followed by writel(). writel() already has a barrier on some architectures like arm64. This ends up CPU observing two barriers back to back before executing the register write. Since code already has an explicit barrier call, changing code to wmb() writel_relaxed() mmiowb() for multi-arch support. Signed-off-by: Sinan Kaya <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions