Re: HEADSUP: Native preemption added to the kernel scheduler

From: David Wolfskill <david_at_catwhisker.org>
Date: Sat, 3 Jul 2004 09:29:31 -0700 (PDT)
>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
>>_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
>> }


>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.
Received on Sat Jul 03 2004 - 14:29:32 UTC

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