Build failed, you can drop the commit to build ok: git revert 0253904dd601b15da2983297d64c106a393b3aa3. Revert "sched_ext: Use HK_TYPE_DOMAIN_BOOT to detect isolcpus= domain isolation"
Tested-by: Wentao Guan guanwentao@uniontech.com
BRs Wentao Guan
defconfigs: https://gist.github.com/opsiff/a840ae9e3d6857f5b7bacb9cdc49f8e9
Log: kernel/sched/ext.c: In function ‘scx_enable’: kernel/sched/ext.c:4924:34: error: ‘HK_TYPE_DOMAIN_BOOT’ undeclared (first use in this function); did you mean ‘HK_TYPE_DOMAIN’? 4924 | if (housekeeping_enabled(HK_TYPE_DOMAIN_BOOT)) { | ^~~~~~~~~~~~~~~~~~~ | HK_TYPE_DOMAIN kernel/sched/ext.c:4924:34: note: each undeclared identifier is reported only once for each function it appears in CC [M] crypto/algif_hash.o
commit 4fca0e550d506e1c95504c2d9247bc92bf621bf6 Author: Frederic Weisbecker frederic@kernel.org Date: Mon May 26 13:06:21 2025 +0200
sched/isolation: Save boot defined domain flags
HK_TYPE_DOMAIN will soon integrate not only boot defined isolcpus= CPUs but also cpuset isolated partitions.
Housekeeping still needs a way to record what was initially passed to isolcpus= in order to keep these CPUs isolated after a cpuset isolated partition is modified or destroyed while containing some of them.
Create a new HK_TYPE_DOMAIN_BOOT to keep track of those.
Signed-off-by: Frederic Weisbecker frederic@kernel.org Reviewed-by: Phil Auld pauld@redhat.com Reviewed-by: Waiman Long longman@redhat.com Cc: Ingo Molnar mingo@redhat.com Cc: Marco Crivellari marco.crivellari@suse.com Cc: Michal Hocko mhocko@suse.com Cc: Peter Zijlstra peterz@infradead.org Cc: Tejun Heo tj@kernel.org Cc: Thomas Gleixner tglx@linutronix.de Cc: Vlastimil Babka vbabka@suse.cz Cc: Waiman Long longman@redhat.com