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:46:58
Module Name: syssrc
Committed By: thorpej
Date: Tue Aug 8 23:46:58 UTC 2000
Modified Files:
syssrc/sys/kern [netbsd-1-5]: kern_sysctl.c
Log Message:
Pull up rev. 1.76:
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.73.2.2 -r1.73.2.3 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.