aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_page.h
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2011-01-16 18:01:39 +0000
committerAlan Cox <alc@FreeBSD.org>2011-01-16 18:01:39 +0000
commit4c6a2e7a1f53af1d8ad34a47d54761c106c2f358 (patch)
tree667d05d52bf043df20ab4657b9699f201fb869af /sys/vm/vm_page.h
parent9648f3447dd8f76d05df9cf66fe07d17683538af (diff)
downloadsrc-4c6a2e7a1f53af1d8ad34a47d54761c106c2f358.tar.gz
src-4c6a2e7a1f53af1d8ad34a47d54761c106c2f358.zip
Shift responsibility for synchronizing access to the page's act_count
field to the object's lock. Reviewed by: kib@
Notes
Notes: svn path=/head/; revision=217478
Diffstat (limited to 'sys/vm/vm_page.h')
-rw-r--r--sys/vm/vm_page.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h
index 54a15fb78c7a..ce72c502be0a 100644
--- a/sys/vm/vm_page.h
+++ b/sys/vm/vm_page.h
@@ -116,7 +116,7 @@ struct vm_page {
u_int wire_count; /* wired down maps refs (P) */
short hold_count; /* page hold count (P) */
u_short oflags; /* page flags (O) */
- u_char act_count; /* page usage count (P) */
+ u_char act_count; /* page usage count (O) */
u_char busy; /* page busy count (O) */
/* NOTE that these must support one bit per DEV_BSIZE in a page!!! */
/* so, on normal X86 kernels, they must be at least 8 bits wide */