Date: Sat, 19 Oct 2019 07:13:16 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r353748 - head/sys/x86/x86 Message-ID: <201910190713.x9J7DGUs058624@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910190713.x9J7DGUs058624>