Subject: CVS commit: [nathanw_sa] syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Nathan J Williams <nathanw@netbsd.org>
List: source-changes
Date: 10/25/2002 02:34:14
Module Name:	syssrc
Committed By:	nathanw
Date:		Thu Oct 24 23:34:14 UTC 2002

Modified Files:
	syssrc/sys/kern [nathanw_sa]: kern_lwp.c

Log Message:
Rewrite proc_representative_lwp() to cope with the new way of stopping
LWPs; in particular, it can't assume that any of the LWPs are
*actually* stopped yet, as they could be sleeping, or runnable or
onproc on their way back to userland where they will be stopped.

Instead, for both SSTOP and SACTIVE procs, pick the "most live" LWP,
and include LSSTOP in the hierarchy.


To generate a diff of this commit:
cvs rdiff -r1.1.2.16 -r1.1.2.17 syssrc/sys/kern/kern_lwp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.