Subject: Re: 1.5ALPHA_2 i386 panic in suspendsched()
To: enami tsugutomo <email@example.com>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 09/18/2000 10:20:09
On Mon, Sep 18, 2000 at 05:09:38PM +0900, enami tsugutomo wrote:
> Manuel Bouyer <email@example.com> writes:
> > If I understood it properly, you don't have a way when traversing allprocs
> > to know whenever a proc is on a run queue or not: a process may be SRUN but
> > swapped out, in which case it's not on a run queue.
> So, if (p_stat == SRUN && (p_flag & P_INMEM) != 0) then it's on run
> queue, isn't it?
I'm not sure it's always true. I looks safer to traverse the run queues.
Anyway, as we're at shutdown time the time spent in suspendsched()
isn't really a big issue.
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr