x86/mcheck: Drop unnecessary barriers
PATCH 1/1 x86/mcheck: Drop unnecessary barriers
spin_unlock() has full barrier semantics already.
Signed-off-by Andrew Cooper <[email protected]>
---
CC: Jan Beulich <[email protected]>
--- xen/arch/x86/cpu/mcheck/mctelem.c | 3 --- 1 file changed, 3 deletions(-)
xen/arch/x86/cpu/mcheck/mctelem.c +0 -3
@@ -520,7 +520,6 @@ mctelem_cookie_t mctelem_consume_oldest_begin(mctelem_class_t which) }mctelem_processing_hold (tep); -wmb ();spin_unlock (&processing_lock);return MCTE2COOKIE (tep); }
@@ -531,7 +530,6 @@ void mctelem_consume_oldest_end(mctelem_cookie_t cookie)spin_lock (&processing_lock);mctelem_processing_release (tep); -wmb ();spin_unlock (&processing_lock); }
@@ -547,7 +545,6 @@ void mctelem_ack(mctelem_class_t which, mctelem_cookie_t cookie)spin_lock (&processing_lock);if (tep == mctctl.mctc_processing_head[target])mctelem_processing_release (tep); -wmb ();spin_unlock (&processing_lock); }
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 4 lines
Quoted 1 line
Quoted 1 line · On 20.12.17 at 20:15, <[email protected]> wrote:
spin_unlock()has full barrier semantics already.Signed-off-by Andrew Cooper <[email protected]>
Acked-by Jan Beulich <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel