svn commit: r354677 - stable/12/sys/x86/x86

Andriy Gapon avg at FreeBSD.org
Wed Nov 13 07:43:12 UTC 2019


Author: avg
Date: Wed Nov 13 07:43:11 2019
New Revision: 354677
URL: https://svnweb.freebsd.org/changeset/base/354677

Log:
  MFC r353748: 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.

Modified:
  stable/12/sys/x86/x86/cpu_machdep.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/x86/x86/cpu_machdep.c
==============================================================================
--- stable/12/sys/x86/x86/cpu_machdep.c	Wed Nov 13 07:41:19 2019	(r354676)
+++ stable/12/sys/x86/x86/cpu_machdep.c	Wed Nov 13 07:43:11 2019	(r354677)
@@ -379,7 +379,6 @@ cpu_reset(void)
 
 			/* Restart CPU #0. */
 			CPU_SETOF(0, &started_cpus);
-			wmb();
 
 			cnt = 0;
 			while (cpu_reset_proxy_active == 0 && cnt < 10000000) {


More information about the svn-src-all mailing list