HEADSUP: Native preemption added to the kernel scheduler
Tai-hwa Liang
avatar at mmlab.cse.yzu.edu.tw
Fri Jul 2 22:43:10 PDT 2004
On Sat, 3 Jul 2004, Thomas T. Veldhouse wrote:
[...]
> The GENERIC kernel is failing to build now (12AM 7-03-2004) ...
> complaining about wrong number of arguments in the following file:
>
> src/sys/kern/sched_ule.c
>
> Unfortunately, I did not get the function details before rebooting my machine into windows.
>
Try this:
--- sys/kern/sched_ule.c Sat Jul 3 12:40:22 2004
+++ /mnt/mfs/sched_ule.c Sat Jul 3 13:39:03 2004
@@ -1716,7 +1716,7 @@
kseq_load_rem(KSEQ_CPU(ke->ke_cpu), ke);
kseq_notify(ke, cpu);
/* When we return from mi_switch we'll be on the correct cpu. */
- mi_switch(SW_VOL);
+ mi_switch(SW_VOL, NULL);
#endif
}
More information about the cvs-src
mailing list