svn commit: r353748 - head/sys/x86/x86

Andriy Gapon avg at FreeBSD.org
Sat Oct 19 07:13:16 UTC 2019


Author: avg
Date: Sat Oct 19 07:13:15 2019
New Revision: 353748
URL: https://svnweb.freebsd.org/changeset/base/353748

Log:
  remove wmb() call from x86 cpu_reset()
  
  The rationale is pretty much the same as in r353747.
  There is no subsequent dependent store.
  The store is to the regular (TSO) memory anyway.
  
  MFC after:	23 days

Modified:
  head/sys/x86/x86/cpu_machdep.c

Modified: head/sys/x86/x86/cpu_machdep.c
==============================================================================
--- head/sys/x86/x86/cpu_machdep.c	Sat Oct 19 07:10:15 2019	(r353747)
+++ head/sys/x86/x86/cpu_machdep.c	Sat Oct 19 07:13:15 2019	(r353748)
@@ -390,7 +390,6 @@ cpu_reset(void)
 			mb = &pcpu_find(0)->pc_monitorbuf;
 			atomic_store_int(&mb->stop_state,
 			    MONITOR_STOPSTATE_RUNNING);
-			wmb();
 
 			cnt = 0;
 			while (cpu_reset_proxy_active == 0 && cnt < 10000000) {


More information about the svn-src-head mailing list