Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 2004 10:59:00 -0400
From:      John Baldwin <>
To:        "Daniel Eriksson" <>
Subject:   Re: cvs commit: src/sys/kern sched_4bsd.c
Message-ID:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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 <>  <><
"Power Users Use the Power to Serve"  =

Want to link to this message? Use this URL: <>