diff options
author | Alan Cox <alc@FreeBSD.org> | 2009-10-04 18:53:10 +0000 |
---|---|---|
committer | Alan Cox <alc@FreeBSD.org> | 2009-10-04 18:53:10 +0000 |
commit | e67e0775e6f7f349bb1dca6b821a265499b9def8 (patch) | |
tree | be275d228074caa6157dd1b24163b60d48a2a2c5 /sys/vm/vm_page.c | |
parent | a7835d55789d1100d12c2940f57430e5d22df9b5 (diff) | |
download | src-e67e0775e6f7f349bb1dca6b821a265499b9def8.tar.gz src-e67e0775e6f7f349bb1dca6b821a265499b9def8.zip |
Align and pad the page queue and free page queue locks so that the linker
can't possibly place them together within the same cache line.
MFC after: 3 weeks
Notes
Notes:
svn path=/head/; revision=197750
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r-- | sys/vm/vm_page.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index ac363b701666..c6bcfa07eb1f 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -135,8 +135,8 @@ __FBSDID("$FreeBSD$"); */ struct vpgqueues vm_page_queues[PQ_COUNT]; -struct mtx vm_page_queue_mtx; -struct mtx vm_page_queue_free_mtx; +struct vpglocks vm_page_queue_lock; +struct vpglocks vm_page_queue_free_lock; vm_page_t vm_page_array = 0; int vm_page_array_size = 0; |