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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_meter.c b/sys/vm/vm_meter.c
index 78a5348..178f5a9 100644
--- a/sys/vm/vm_meter.c
+++ b/sys/vm/vm_meter.c
@@ -118,7 +118,7 @@ vmtotal(SYSCTL_HANDLER_ARGS)
/* Need new statistics XXX */
switch (td->td_state) {
case TDS_INHIBITED:
- if (TD_ON_MUTEX(td) ||
+ if (TD_ON_LOCK(td) ||
(td->td_inhibitors ==
TDI_SWAPPED)) {
totalp->t_sw++;
OpenPOWER on IntegriCloud