Re: HEADSUP: Native preemption added to the kernel scheduler

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Sat, 3 Jul 2004 07:52:40 -0700
On Sat, Jul 03, 2004 at 09:26:09AM -0500, Thomas T. Veldhouse wrote:
> Kris Kennaway 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.
> >>   
> >>
> >
> >That was fixed a few hours ago.
> >
> >Kris
> > 
> >
> I am still getting this _at_ 9:25 AM CDT (cvsup from cvsup2.freebsd.org).
> 
> In /usr/src/sys/kern/sched_ule.c: in function 'sched_bind'
> line 1719: too few arguments to function 'mi_switch'
> 

Watch for cut-n-paste space problems.

--- sched_ule.c.orig    Sat Jul  3 07:51:02 2004
+++ sched_ule.c Sat Jul  3 07:51:15 2004
_at__at_ -1716,7 +1716,7 _at__at_
        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
 }



-- 
Steve
Received on Sat Jul 03 2004 - 12:52:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:00 UTC