aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/vmmeter.h
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2018-04-27 05:36:02 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2018-04-27 05:36:02 +0000
commit23e17f83f10badf13388deef7f201ef180392d09 (patch)
tree146a6c2cb3daf4352a501be6359364770f503286 /sys/sys/vmmeter.h
parenta3b3bb87cc56a594cf04205036dbae4aac9f74f7 (diff)
downloadsrc-23e17f83f10badf13388deef7f201ef180392d09.tar.gz
src-23e17f83f10badf13388deef7f201ef180392d09.zip
vm: move vm_cnt to __read_mostly now that it is not written to
While here whack unused locking keys for the struct. Discussed with: jeff
Notes
Notes: svn path=/head/; revision=333051
Diffstat (limited to 'sys/sys/vmmeter.h')
-rw-r--r--sys/sys/vmmeter.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/sys/vmmeter.h b/sys/sys/vmmeter.h
index 408cd862c357..3c570b0a6b7f 100644
--- a/sys/sys/vmmeter.h
+++ b/sys/sys/vmmeter.h
@@ -73,11 +73,8 @@ struct vmtotal {
/*
* System wide statistics counters.
* Locking:
- * a - locked by atomic operations
* c - constant after initialization
- * f - locked by vm_page_queue_free_mtx
* p - uses counter(9)
- * q - changes are synchronized by the corresponding vm_pagequeue lock
*/
struct vmmeter {
/*