diff options
| author | Alan Cox <alc@FreeBSD.org> | 2016-11-09 18:48:37 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2016-11-09 18:48:37 +0000 |
| commit | ebcddc721771e8c70f98b61576242d2e4983682b (patch) | |
| tree | 6e4503c31681e0975d80a1904e0f094824a2c83d /sys/vm/vm_object.c | |
| parent | bde951447fbed7c2669f80b5c7b6d3d16bb144f8 (diff) | |
Notes
Diffstat (limited to 'sys/vm/vm_object.c')
| -rw-r--r-- | sys/vm/vm_object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index 7321990c5408..0cf364fcaa47 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -2329,9 +2329,9 @@ sysctl_vm_object_list(SYSCTL_HANDLER_ARGS) * sysctl is only meant to give an * approximation of the system anyway. */ - if (m->queue == PQ_ACTIVE) + if (vm_page_active(m)) kvo.kvo_active++; - else if (m->queue == PQ_INACTIVE) + else if (vm_page_inactive(m)) kvo.kvo_inactive++; } |
