Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2026 05:17:28 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: f491e0d2a85a - stable/15 - x86/cpu_machdep.c: unconditionally fence
Message-ID:  <698c10e8.25bf7.5b19b9ee@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=f491e0d2a85a7232be33923dcc256e479bf30810

commit f491e0d2a85a7232be33923dcc256e479bf30810
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-01-22 13:27:00 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-02-11 05:12:37 +0000

    x86/cpu_machdep.c: unconditionally fence
    
    (cherry picked from commit 1c4e16f6db81254376f4919aede03267fe572aea)
---
 sys/x86/x86/cpu_machdep.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys/x86/x86/cpu_machdep.c b/sys/x86/x86/cpu_machdep.c
index 5b4abfe71642..067374be4941 100644
--- a/sys/x86/x86/cpu_machdep.c
+++ b/sys/x86/x86/cpu_machdep.c
@@ -47,7 +47,6 @@
 #include "opt_kstack_pages.h"
 #include "opt_maxmem.h"
 #include "opt_platform.h"
-#include "opt_sched.h"
 #ifdef __i386__
 #include "opt_apic.h"
 #endif
@@ -543,9 +542,7 @@ cpu_idle_enter(int *statep, int newstate)
 	 * is visible before calling cpu_idle_wakeup().
 	 */
 	atomic_store_int(statep, newstate);
-#if defined(SCHED_ULE) && defined(SMP)
 	atomic_thread_fence_seq_cst();
-#endif
 
 	/*
 	 * Since we may be in a critical section from cpu_idle(), if


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?698c10e8.25bf7.5b19b9ee>