diff options
author | attilio <attilio@FreeBSD.org> | 2013-04-08 20:02:27 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2013-04-08 20:02:27 +0000 |
commit | 39752766344a39813bc96d7f0b849fbaae094c58 (patch) | |
tree | 74323cd6e2e76f286b9aaa8bf0df7adff30cc760 /sys/vm/vm_page.h | |
parent | d67371dab632a5e4198509966ecf2519692abdc4 (diff) | |
download | FreeBSD-src-39752766344a39813bc96d7f0b849fbaae094c58.zip FreeBSD-src-39752766344a39813bc96d7f0b849fbaae094c58.tar.gz |
The per-page act_count can be made very-easily protected by the
per-page lock rather than vm_object lock, without any further overhead.
Make the formal switch.
Sponsored by: EMC / Isilon storage division
Reviewed by: alc
Tested by: pho
Diffstat (limited to 'sys/vm/vm_page.h')
-rw-r--r-- | sys/vm/vm_page.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h index d2393dc..e240961 100644 --- a/sys/vm/vm_page.h +++ b/sys/vm/vm_page.h @@ -143,7 +143,7 @@ struct vm_page { uint8_t aflags; /* access is atomic */ uint8_t oflags; /* page VPO_* flags (O) */ uint16_t flags; /* page PG_* flags (P) */ - u_char act_count; /* page usage count (O) */ + u_char act_count; /* page usage count (P) */ 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 */ |