Subject: Re: 1.5ALPHA_2 i386 panic in suspendsched()
To: Jason R Thorpe <email@example.com>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 09/14/2000 20:24:35
On Thu, Sep 14, 2000 at 08:57:57AM -0700, Jason R Thorpe wrote:
> On Thu, Sep 14, 2000 at 10:03:59AM +0200, Jaromír Doleček wrote:
> > Does the proclist walking in suspendsched() need to be guarded by
> > proclist_(un)lock_write() ?
> If it is traversing the proclist and not removing any procs, then
> only the read lock is necessary.
it removes procs from the run queue. In -current it's guarded by
SCHED_LOCK(s)/SCHED_UNLOCK(s), in 1.5 by splclock()/splx(). Is this enouth ?
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr