summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_clock.c4
-rw-r--r--sys/kern/kern_tc.c4
-rw-r--r--sys/kern/kern_timeout.c4
-rw-r--r--sys/sys/proc.h3
-rw-r--r--sys/vm/vm_meter.c4
5 files changed, 8 insertions, 11 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index a3231bf..5f138615 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
- * $Id: kern_clock.c,v 1.43 1997/11/07 08:52:54 phk Exp $
+ * $Id: kern_clock.c,v 1.44 1997/11/18 12:24:22 bde Exp $
*/
/* Portions of this software are covered by the following: */
@@ -1015,7 +1015,7 @@ statclock(frame)
if (p != NULL)
p->p_iticks++;
cp_time[CP_INTR]++;
- } else if (p != NULL && !(p->p_flag & P_IDLEPROC)) {
+ } else if (p != NULL) {
p->p_sticks++;
cp_time[CP_SYS]++;
} else
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c
index a3231bf..5f138615 100644
--- a/sys/kern/kern_tc.c
+++ b/sys/kern/kern_tc.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
- * $Id: kern_clock.c,v 1.43 1997/11/07 08:52:54 phk Exp $
+ * $Id: kern_clock.c,v 1.44 1997/11/18 12:24:22 bde Exp $
*/
/* Portions of this software are covered by the following: */
@@ -1015,7 +1015,7 @@ statclock(frame)
if (p != NULL)
p->p_iticks++;
cp_time[CP_INTR]++;
- } else if (p != NULL && !(p->p_flag & P_IDLEPROC)) {
+ } else if (p != NULL) {
p->p_sticks++;
cp_time[CP_SYS]++;
} else
diff --git a/sys/kern/kern_timeout.c b/sys/kern/kern_timeout.c
index a3231bf..5f138615 100644
--- a/sys/kern/kern_timeout.c
+++ b/sys/kern/kern_timeout.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
- * $Id: kern_clock.c,v 1.43 1997/11/07 08:52:54 phk Exp $
+ * $Id: kern_clock.c,v 1.44 1997/11/18 12:24:22 bde Exp $
*/
/* Portions of this software are covered by the following: */
@@ -1015,7 +1015,7 @@ statclock(frame)
if (p != NULL)
p->p_iticks++;
cp_time[CP_INTR]++;
- } else if (p != NULL && !(p->p_flag & P_IDLEPROC)) {
+ } else if (p != NULL) {
p->p_sticks++;
cp_time[CP_SYS]++;
} else
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index add0efa..8ee2bd1 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)proc.h 8.15 (Berkeley) 5/19/95
- * $Id: proc.h,v 1.46 1997/11/06 19:29:45 phk Exp $
+ * $Id: proc.h,v 1.47 1997/11/21 11:37:02 bde Exp $
*/
#ifndef _SYS_PROC_H_
@@ -225,7 +225,6 @@ struct proc {
#define P_SWAPPING 0x40000 /* Process is being swapped. */
#define P_SWAPINREQ 0x80000 /* Swapin request due to wakeup */
-#define P_IDLEPROC 0x100000 /* Process is an idle-eater, don't count */
/* Marked a kernel thread */
#define P_KTHREADP 0x200000 /* Process is really a kernel thread */
diff --git a/sys/vm/vm_meter.c b/sys/vm/vm_meter.c
index 12925a3..edfaf9b 100644
--- a/sys/vm/vm_meter.c
+++ b/sys/vm/vm_meter.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)vm_meter.c 8.4 (Berkeley) 1/4/94
- * $Id: vm_meter.c,v 1.21 1997/04/26 11:46:24 peter Exp $
+ * $Id: vm_meter.c,v 1.22 1997/09/01 03:17:19 bde Exp $
*/
#include <sys/param.h>
@@ -77,8 +77,6 @@ loadav(struct loadavg *avg)
register struct proc *p;
for (nrun = 0, p = allproc.lh_first; p != 0; p = p->p_list.le_next) {
- if (p->p_flag & P_IDLEPROC)
- continue;
switch (p->p_stat) {
case SSLEEP:
if (p->p_priority > PZERO || p->p_slptime != 0)
OpenPOWER on IntegriCloud