Thursday, September 03, 2009

Brain Fuck Scheduler for Linux Kernel (aka Welcome Back Con Kolivas)

Take newest BFS patch from http://ck.kolivas.org/patches/bfs/2.6.30-sched-bfs-203.patch, start from mainline kernel 2.6.30.3, then apply 3 patches:

tar xvfj vanilla/linux-2.6.30.3.tar.bz2 
cd linux-2.6.30.3/
patch -p1 < ../ck/2.6.30-sched-bfs-203.patch
bzip2 -dc ../vanilla/patch-2.6.30.3-4.bz2 | patch -p1
# skip 2 patches to kernel/sched.c and kernel/sched_rt.c above
bzip2 -dc ../vanilla/patch-2.6.30.4-5.bz2 | patch -p1
cd ..
mv linux-2.6.30.3 linux-2.6.30.5-ck
... and now reconfig, compile, reboot, test, loop

ps: don't forget to read BFS FAQ

3 comments:

stwn said...

udah 204 pak, jadi 2.6.30-sched-bfs-204.patch

Andika Triwidada said...

duh, belum juga dicoba hasil compile 203, hehehehe. pak CK lagi semangat 45 keknya nih (dance)

Service Alat Elektronik said...

keren jg nih pak. Btw, kita dulu sama2 mengerjakan project di Imigrasi pak