Commit 02d59e3
committed
sched_ext, sched/core: Fix build failure when !FAIR_GROUP_SCHED && EXT_GROUP_SCHED
JIRA: https://issues.redhat.com/browse/RHEL-111810
commit a1eab4d
Author: Tejun Heo <tj@kernel.org>
Date: Tue Sep 16 11:06:42 2025 -1000
sched_ext, sched/core: Fix build failure when !FAIR_GROUP_SCHED && EXT_GROUP_SCHED
While collecting SCX related fields in struct task_group into struct
scx_task_group, 6e6558a ("sched_ext, sched/core: Factor out struct
scx_task_group") forgot update tg->scx_weight usage in tg_weight(), which
leads to build failure when CONFIG_FAIR_GROUP_SCHED is disabled but
CONFIG_EXT_GROUP_SCHED is enabled. Fix it.
Fixes: 6e6558a ("sched_ext, sched/core: Factor out struct scx_task_group")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202509170230.MwZsJSWa-lkp@intel.com/
Tested-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Phil Auld <pauld@redhat.com>1 parent 1911e31 commit 02d59e3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9427 | 9427 | | |
9428 | 9428 | | |
9429 | 9429 | | |
9430 | | - | |
| 9430 | + | |
9431 | 9431 | | |
9432 | 9432 | | |
9433 | 9433 | | |
| |||
0 commit comments