lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250611135404.13851-3-yphbchou0911@gmail.com>
Date: Wed, 11 Jun 2025 21:54:02 +0800
From: Cheng-Yang Chou <yphbchou0911@...il.com>
To: linux-kernel@...r.kernel.org
Cc: tj@...nel.org,
	void@...ifault.com,
	arighi@...dia.com,
	changwoo@...lia.com,
	jserv@...s.ncku.edu.tw,
	yphbchou0911@...il.com
Subject: [PATCH 2/4] sched_ext: Clean up and standardize #if/#else/#endif markers in sched/ext.h

Simplify the scheduler by making formerly SMP-only primitives and data
structures unconditional.

Signed-off-by: Cheng-Yang Chou <yphbchou0911@...il.com>
---
 kernel/sched/ext.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/ext.h b/kernel/sched/ext.h
index 6e5072f57771..d2f8cefae68c 100644
--- a/kernel/sched/ext.h
+++ b/kernel/sched/ext.h
@@ -65,7 +65,7 @@ static inline void init_sched_ext_class(void) {}
 
 #endif	/* CONFIG_SCHED_CLASS_EXT */
 
-#if defined(CONFIG_SCHED_CLASS_EXT) && defined(CONFIG_SMP)
+#if defined(CONFIG_SCHED_CLASS_EXT)
 void __scx_update_idle(struct rq *rq, bool idle, bool do_notify);
 
 static inline void scx_update_idle(struct rq *rq, bool idle, bool do_notify)
-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ