aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/vmmeter.h
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2012-11-13 02:50:39 +0000
committerAlan Cox <alc@FreeBSD.org>2012-11-13 02:50:39 +0000
commit8d220203844bdb6ecb222812ec0ffb08295700a7 (patch)
tree9fb0fb9e0cd777e9049218e91be312eed0a091e5 /sys/sys/vmmeter.h
parentf1e0de695c6dd0947b695995626a116073f5771b (diff)
downloadsrc-8d220203844bdb6ecb222812ec0ffb08295700a7.tar.gz
src-8d220203844bdb6ecb222812ec0ffb08295700a7.zip
Replace the single, global page queues lock with per-queue locks on the
active and inactive paging queues. Reviewed by: kib
Notes
Notes: svn path=/head/; revision=242941
Diffstat (limited to 'sys/sys/vmmeter.h')
-rw-r--r--sys/sys/vmmeter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/vmmeter.h b/sys/sys/vmmeter.h
index c66016c6a928..1a29ec185382 100644
--- a/sys/sys/vmmeter.h
+++ b/sys/sys/vmmeter.h
@@ -46,7 +46,7 @@
* c - constant after initialization
* f - locked by vm_page_queue_free_mtx
* p - locked by being in the PCPU and atomicity respect to interrupts
- * q - locked by vm_page_queue_mtx
+ * q - changes are synchronized by the corresponding vm_pagequeue lock
*/
struct vmmeter {
/*
@@ -76,7 +76,7 @@ struct vmmeter {
u_int v_intrans; /* (p) intransit blocking page faults */
u_int v_reactivated; /* (f) pages reactivated from free list */
u_int v_pdwakeups; /* (f) times daemon has awaken from sleep */
- u_int v_pdpages; /* (q) pages analyzed by daemon */
+ u_int v_pdpages; /* (p) pages analyzed by daemon */
u_int v_tcached; /* (p) total pages cached */
u_int v_dfree; /* (p) pages freed by daemon */