Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jul 2004 07:52:40 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        "Thomas T. Veldhouse" <veldy@veldy.net>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: HEADSUP: Native preemption added to the kernel scheduler
Message-ID:  <20040703145239.GA9941@troutmask.apl.washington.edu>
In-Reply-To: <40E6C201.3000104@veldy.net>
References:  <200407022021.i62KLi4Y041825@repoman.freebsd.org> <200407021721.52787.jhb@FreeBSD.org> <40E64302.2020700@veldy.net> <20040703053940.GA60840@xor.obsecurity.org> <40E6C201.3000104@veldy.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040703145239.GA9941>