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:52 am

* Erik Andersen <andersen@codepoet.org> wrote:


does the patch below help?

	Ingo

Index: linux-cfs-2.6.21.7.q/include/linux/sched.h
===================================================================
--- linux-cfs-2.6.21.7.q.orig/include/linux/sched.h
+++ linux-cfs-2.6.21.7.q/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:52 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)