Hi Ingo,
Thnx a lot for theses backports...
Ran into this while compiling a 2.6.23.8 with CFS v24
Compiling with CONFIG_FAIR_GROUP_SCHED disabled :
kernel/sysctl.c:305: error: 'sysctl_sched_min_bal_int_shares' undeclared here (not in a function)
kernel/sysctl.c:313: error: 'sysctl_sched_max_bal_int_shares' undeclared here (not in a function)
I made that patch to make it compile.
--- kernel/sysctl.c 2007-11-19 19:08:36.000000000 +0100
+++ kernel.new/sysctl.c 2007-11-19 19:07:49.000000000 +0100
@@ -299,6 +299,7 @@
.mode = 644,
.proc_handler = &proc_dointvec,
},
+#ifdef CONFIG_FAIR_GROUP_SCHED
{
.ctl_name = CTL_UNNUMBERED,
.procname = "sched_min_bal_int_shares",
@@ -315,6 +316,7 @@
.mode = 0644,
.proc_handler = &proc_dointvec,
},
+#endif
#endif
{
.ctl_name = CTL_UNNUMBERED,
Compiling with CONFIG_FAIR_GROUP_SCHED enabled I get that errors. I have applied other patches, and may be an interaction. I will try to confirm that later :
kernel/sched.c: In function 'rebalance_shares':
kernel/sched.c:7039: error: dereferencing pointer to incomplete type
kernel/sched.c: In function 'load_balance_monitor':
kernel/sched.c:7125: error: 'ndoms_cur' undeclared (first use in this function)
kernel/sched.c:7125: error: (Each undeclared identifier is reported only once
kernel/sched.c:7125: error: for each function it appears in.)
kernel/sched.c:7126: error: 'doms_cur' undeclared (first use in this function)
kernel/sched.c:7132: error: 'struct rq' has no member named 'sd'
kernel/sched.c:7132: warning: type defaults to 'int' in declaration of '_________p1'
kernel/sched.c:7132: error: 'struct rq' has no member named 'sd'
kernel/sched.c:7132: warning: assignment makes pointer from integer without a cast
kernel/sched.c:7132: error: dereferencing pointer to incomplete type
kernel/sched.c:7133: error: dereferencing pointer to incomplete type
kernel/sched.c:7133: error: 'SD_LOAD_BALANCE' undeclared (first use in this function)
kernel/sched.c:7126: warning: unused variable 'cpumap'
--
David Rodríguez García
Director Técnico
LiVux I+D S.L.
-