cvs commit: src/sys/kern sched_4bsd.c

John Baldwin jhb at FreeBSD.org
Wed Jul 14 07:57:51 PDT 2004


On Tuesday 13 July 2004 05:36 pm, Daniel Eriksson wrote:
> John Baldwin wrote:
> >   Set TDF_NEEDRESCHED when a higher priority thread is scheduled in
> >   sched_add() rather than just doing it in sched_wakeup().  The old
> >   ithread preemption code used to set NEEDRESCHED
> > unconditionally if it
> >   didn't preempt which masked this bug in SCHED_4BSD.
>
> Does this mean it should be safe to turn preemption back on in param.h (for
> a kernel using SHED_4BSD)? Or is this not related to the hard hangs
> reported over the last week?

I haven't yet had time to sit down and look at the hard hangs.  It is probably 
still not quite safe to turn preemption back on.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the cvs-src mailing list