summaryrefslogtreecommitdiffstats
path: root/sys/sys/vmmeter.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-07-07 19:39:08 +0000
committerkib <kib@FreeBSD.org>2012-07-07 19:39:08 +0000
commit80dc0e94a448f0f3cfe7b699930beab72b1fa2fb (patch)
treee37dba585dd24197592c31a43a58d71f175d2f58 /sys/sys/vmmeter.h
parent16452223a29ee3dadb968ad6bca40d222beadfa3 (diff)
downloadFreeBSD-src-80dc0e94a448f0f3cfe7b699930beab72b1fa2fb.zip
FreeBSD-src-80dc0e94a448f0f3cfe7b699930beab72b1fa2fb.tar.gz
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
Diffstat (limited to 'sys/sys/vmmeter.h')
-rw-r--r--sys/sys/vmmeter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/vmmeter.h b/sys/sys/vmmeter.h
index 99531a6..c66016c 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 */
/*
OpenPOWER on IntegriCloud