cvs commit: src/sys/kern sched_4bsd.c
daniel_k_eriksson at telia.com
Tue Jul 13 14:37:48 PDT 2004
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?
More information about the cvs-src