Subject: Re: 1.5ALPHA_2 i386 panic in suspendsched()
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: enami tsugutomo <enami@sm.sony.co.jp>
List: tech-kern
Date: 09/18/2000 17:09:38
Manuel Bouyer <bouyer@antioche.lip6.fr> 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?
enami.