HEADSUP: Native preemption added to the kernel scheduler

Marc UBM Bocklet ubm at u-boot-man.de
Sat Jul 3 17:44:39 PDT 2004


On Sat, 03 Jul 2004 10:52:07 -0500
"Thomas T. Veldhouse" <veldy at veldy.net> wrote:

> Steve Kargl wrote:
> 
> >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
> > }
> >  
> >
> 
> No such problem.  I simply added NULL myself, by hand.  It compiles 
> fine, but the kernel panics on boot.

It works fine here on my P4, running current from about 6 hours ago.

I compiled with -O only.

Bye
Marc

-- 
"And what rough beast, its hour come round at last,
Slouches towards Bethlehem to be born?"

W.B. Yeats, The Second Coming


More information about the freebsd-current mailing list