path: root/sys/sys/vmmeter.h
diff options
authorKonstantin Belousov <kib@FreeBSD.org>2012-07-07 19:39:08 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2012-07-07 19:39:08 +0000
commit48cc2fc7740dc9f0aa00c9966179be55354f911d (patch)
treee37dba585dd24197592c31a43a58d71f175d2f58 /sys/sys/vmmeter.h
parentc288b548372dc7d618503964de3aed7522fcaa74 (diff)
Drop page queues mutex on each iteration of vm_pageout_scan over the
inactive queue, unless busy page is found. Dropping the mutex often should allow the other lock acquires to proceed without waiting for whole inactive scan to finish. On machines with lot of physical memory scan often need to iterate a lot before it finishes or finds a page which requires laundring, causing high latency for other lock waiters. Suggested and reviewed by: alc MFC after: 3 weeks
Notes: svn path=/head/; revision=238212
Diffstat (limited to 'sys/sys/vmmeter.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/vmmeter.h b/sys/sys/vmmeter.h
index 99531a6c84a2..c66016c6a928 100644
--- a/sys/sys/vmmeter.h
+++ b/sys/sys/vmmeter.h
@@ -79,7 +79,7 @@ struct vmmeter {
u_int v_pdpages; /* (q) pages analyzed by daemon */
u_int v_tcached; /* (p) total pages cached */
- u_int v_dfree; /* (q) pages freed by daemon */
+ u_int v_dfree; /* (p) pages freed by daemon */
u_int v_pfree; /* (p) pages freed by exiting processes */
u_int v_tfree; /* (p) total pages freed */