summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_meter.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm_meter.c')
-rw-r--r--sys/vm/vm_meter.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/vm/vm_meter.c b/sys/vm/vm_meter.c
index 66829bb..0f584c8 100644
--- a/sys/vm/vm_meter.c
+++ b/sys/vm/vm_meter.c
@@ -153,6 +153,7 @@ vmtotal(SYSCTL_HANDLER_ARGS)
case 0:
continue;
+ case SMTX:
case SSLEEP:
case SSTOP:
if (p->p_flag & P_INMEM) {
@@ -166,6 +167,10 @@ vmtotal(SYSCTL_HANDLER_ARGS)
continue;
break;
+ case SWAIT:
+ totalp->t_sl++;
+ continue;
+
case SRUN:
case SIDL:
if (p->p_flag & P_INMEM)
OpenPOWER on IntegriCloud