Re: [patch/backport] CFS scheduler, -v22, for v2.6.23-rc8, v2.6.22.8, v2.6.21.7, v2.6.20.20

From: S.ÃaÄlar Onur
Date: Wed Sep 26 2007 - 09:35:28 EST


26 Eyl 2007 Ãar tarihinde, Ingo Molnar ÅunlarÄ yazmÄÅtÄ:
> By popular demand, here is release -v22 of the CFS scheduler. It is a
> full backport of the latest & greatest sched-devel.git code to
> v2.6.23-rc8, v2.6.22.8, v2.6.21.7 and v2.6.20.20. The patches can be
> downloaded from the usual place:
>
> http://people.redhat.com/mingo/cfs-scheduler/
>
> This is the first time the development version of the scheduler has been
> fed back into the stable backport series, so there's many changes since
> v20.5:

Compilation [against 2.6.20.20] fails with

buildfarm linux-2.6.20 # make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CHK include/linux/compile.h
CC kernel/sched.o
In file included from kernel/sched.c:850:
kernel/sched_fair.c:49: error: sysctl_sched_nr_latency causes a section type
conflict
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2

@kernel/sched_fair.c
-const_debug unsigned int sysctl_sched_nr_latency __read_mostly = 20;
+const_debug unsigned int sysctl_sched_nr_latency = 20;

seems solve that issue but i'm not sure this is the right thing to do or
not :)

Cheers
--
S.ÃaÄlar Onur <caglar@xxxxxxxxxxxxx>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/