Re: [patch/backport] CFS scheduler, -v24, for v2.6.24-rc3, v2.6.23.8,v2.6.22.13, v2.6.21.7

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Monday, November 19, 2007 - 11:59 am

* Fortier,Vincent [Montreal] <Vincent.Fortier1@EC.GC.CA> wrote:


find below the current set of fixlets - it should fix the 
cpu_sibling_map build error too. (or re-download the v24 patch again to 
get the fixes)

	Ingo

--- linux.orig/kernel/sysctl.c
+++ linux/kernel/sysctl.c
@@ -309,6 +309,7 @@ static struct ctl_table kern_table[] = {
 		.mode		= 644,
 		.proc_handler	= &proc_dointvec,
 	},
+#ifdef CONFIG_FAIR_GROUP_SCHED
 	{
 		.ctl_name	= CTL_UNNUMBERED,
 		.procname	= "sched_min_bal_int_shares",
@@ -326,6 +327,7 @@ static struct ctl_table kern_table[] = {
 		.proc_handler	= &proc_dointvec,
 	},
 #endif
+#endif
 	{
 		.ctl_name	= CTL_UNNUMBERED,
 		.procname	= "sched_compat_yield",
--- linux.orig/include/linux/sched.h
+++ linux/include/linux/sched.h
@@ -10,7 +10,7 @@
 #define COMPAT_REGISTER_SYSCTL
 
 /* backporting helper macro: */
-#define cpu_sibling_map(cpu) per_cpu(cpu_sibling_map, cpu)
+#define cpu_sibling_map(cpu) cpu_sibling_map[cpu]
 
 /*
  * cloning flags:
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RE: [patch/backport] CFS scheduler, -v24, for v2.6.24-rc3, ..., Fortier,Vincent [Mon ..., (Mon Nov 19, 9:04 am)
Re: [patch/backport] CFS scheduler, -v24, for v2.6.24-rc3, ..., Ingo Molnar, (Mon Nov 19, 11:59 am)
RE: [patch/backport] CFS scheduler, -v24, for v2.6.24-rc3, ..., Fortier,Vincent [Mon ..., (Mon Nov 19, 12:46 pm)
Re: [patch/backport] CFS scheduler, -v24, for v2.6.24-rc3, ..., Srivatsa Vaddagiri, (Tue Nov 20, 5:41 am)