Fwd: [patch] CFS scheduler, -v17

From: Ludovic Vaugeois-Pepin
Date: Fri Jun 15 2007 - 12:59:12 EST


On 6/15/07, Luiz Fernando N. Capitulino <lcapitulino@xxxxxxxxxxxxxxx> wrote:
Em Fri, 15 Jun 2007 00:49:08 +0200
Ingo Molnar <mingo@xxxxxxx> escreveu:

|
| i'm pleased to announce release -v17 of the CFS scheduler patchset.
|
| The rolled-up CFS patch against v2.6.22-rc4, v2.6.22-rc4-mm2, v2.6.21.5
| or v2.6.20.13 can be downloaded from the usual place:
|
| http://people.redhat.com/mingo/cfs-scheduler/

Hmm, I'm getting this while compiling:

"""
LD .tmp_vmlinux1
kernel/built-in.o: In function `rq_clock':
/home/lcapitulino/src/kernels/upstream/linux-2.6-cfs/kernel/sched.c:321: undefined reference to `cpu_of'
/home/lcapitulino/src/kernels/upstream/linux-2.6-cfs/kernel/sched.c:321: undefined reference to `cpu_of'
/home/lcapitulino/src/kernels/upstream/linux-2.6-cfs/kernel/sched.c:321: undefined reference to `cpu_of'
/home/lcapitulino/src/kernels/upstream/linux-2.6-cfs/kernel/sched.c:321: undefined reference to `cpu_of'
/home/lcapitulino/src/kernels/upstream/linux-2.6-cfs/kernel/sched.c:321: undefined reference to `cpu_of'
kernel/built-in.o:/home/lcapitulino/src/kernels/upstream/linux-2.6-cfs/kernel/sched.c:321: more undefined references to `cpu_of' follow
make: *** [.tmp_vmlinux1] Error 1
"""


I get the same compilation error with 2.6.22-rc4:
AR arch/i386/lib/lib.a
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
kernel/built-in.o: In function `dequeue_task':
sched.c:(.text+0x12f5): undefined reference to `cpu_of'
kernel/built-in.o: In function `enqueue_task':
sched.c:(.text+0x1419): undefined reference to `cpu_of'
kernel/built-in.o: In function `update_load_fair':
sched.c:(.text+0x1608): undefined reference to `cpu_of'
kernel/built-in.o: In function `task_sched_runtime':
: undefined reference to `cpu_of'
kernel/built-in.o: In function `check_preempt_curr_fair':
sched.c:(.text+0x3da7): undefined reference to `cpu_of'
kernel/built-in.o:sched.c:(.text+0x407b): more undefined references to
`cpu_of' follow
make: *** [.tmp_vmlinux1] Error 1

I attached the .config file (config-2.6.22-rc4-cfs17)

--
Ludovic Vaugeois-Pepin

Attachment: config-2.6.22-rc4-cfs17
Description: Binary data