lkml.org 
[lkml]   [2007]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRE: [patch/backport] CFS scheduler, -v24, for v2.6.24-rc3, v2.6.23.8,v2.6.22.13, v2.6.21.7
Date
> 
> By popular demand, here is release -v24 of the CFS scheduler patch.
>
> It is a full backport of the latest & greatest scheduler code
> to v2.6.24-rc3, v2.6.23.8, v2.6.22.13, v2.6.21.7. The patches
> can be downloaded from the usual place:
>
> http://people.redhat.com/mingo/cfs-scheduler/
>
> There's tons of changes since v22 was released:
>
> 36 files changed, 2359 insertions(+), 1082 deletions(-)
>
> that's 187 individual commits from 32 authors.
>
> So even if CFS v22 worked well for you, please try this
> release too and report regressions (if any).
>

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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-11-19 19:35    [W:0.086 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site