HEADSUP: Native preemption added to the kernel scheduler
David Wolfskill
david at catwhisker.org
Sat Jul 3 09:29:32 PDT 2004
>Date: Sat, 03 Jul 2004 10:52:07 -0500
>From: "Thomas T. Veldhouse" <veldy at veldy.net>
>To: Steve Kargl <sgk at troutmask.apl.washington.edu>
>Cc: src-committers at freebsd.org
>Cc: current at freebsd.org
>Cc: cvs-src at freebsd.org
>Cc: cvs-all at freebsd.org
>Cc: Kris Kennaway <kris at obsecurity.org>
>Subject: Re: HEADSUP: Native preemption added to the kernel scheduler
>Sender: owner-freebsd-current at freebsd.org
[Recipient list trimmed a little.... :-} dhw]
>Steve Kargl wrote:
>>--- 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
>> }
>No such problem. I simply added NULL myself, by hand. It compiles
>fine, but the kernel panics on boot.
>Tom Veldhouse
I also added it by hand, but did not observe the panic:
freebeast(5.2-C)[1] uname -a
FreeBSD freebeast.catwhisker.org 5.2-CURRENT FreeBSD 5.2-CURRENT #6: Sat Jul 3 08:56:29 PDT 2004 root at freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/FREEBEAST i386
freebeast(5.2-C)[2]
(This is on my SMP (2xPIII) machine.)
(And no, I didn't try compiling with -O2.)
Peace,
david
--
David H. Wolfskill david at catwhisker.org
I do not "unsubscribe" from email "services" to which I have not explicitly
subscribed. Rather, I block spammers' access to SMTP servers I control,
and encourage others who are in a position to do so to do likewise.
More information about the freebsd-current
mailing list