Subject: Re: 1.5ALPHA_2 i386 panic in suspendsched()
To: Manuel Bouyer <>
From: enami tsugutomo <>
List: tech-kern
Date: 09/18/2000 17:09:38
Manuel Bouyer <> 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?