Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2019 07:43:11 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r354677 - stable/12/sys/x86/x86
Message-ID:  <201911130743.xAD7hBIu070672@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911130743.xAD7hBIu070672>