Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 08/09/2000 02:42:09
Module Name:	syssrc
Committed By:	thorpej
Date:		Tue Aug  8 23:42:09 UTC 2000

Modified Files:
	syssrc/sys/kern: kern_sysctl.c

Log Message:
In fill_kproc2(), testing p->p_stats != NULL doesn't do much good,
instead test for (p->p_flag & I_INMEM), and don't access the U-area
(via p->p_stats) if that bit is clear.  Fixes the hangs people have
seen when the system is paging and the user runs top/ps/w.


To generate a diff of this commit:
cvs rdiff -r1.75 -r1.76 syssrc/sys/kern/kern_sysctl.c

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