Re: HEADSUP: Native preemption added to the kernel scheduler

[ Available lists | Index of cvs-all | Month of Jul 2004 | Week of 3 Jul 2004 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Steve Kargl <sgk@troutmask.apl.washington.edu>
Date
3 Jul 2004 14:52:41
Subject
Re: HEADSUP: Native preemption added to the kernel scheduler
Message-ID
20040703145239.GA9941@troutmask.apl.washington.edu


[ Hide this part ]
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 @ 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
@@ -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
}



--
Steve


Elapsed time: 0.213 seconds