summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2002-04-30 21:24:47 +0000
committeralc <alc@FreeBSD.org>2002-04-30 21:24:47 +0000
commit0e84366ae7583110f2684fcbdb18db042f76b8f8 (patch)
treec5f35bae8d320258ac37d8af8de09a74b4704a43 /sys/kern
parent5ae616a5165c9c27092407c80d77d6e506af9777 (diff)
downloadFreeBSD-src-0e84366ae7583110f2684fcbdb18db042f76b8f8.zip
FreeBSD-src-0e84366ae7583110f2684fcbdb18db042f76b8f8.tar.gz
o Convert the vm_page buckets mutex to a spin lock. (This resolves
an issue on the Alpha platform found by jeff@.) o Simplify vm_page_lookup(). Reviewed by: jhb
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_witness.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c
index 8040787..59cf2ca 100644
--- a/sys/kern/subr_witness.c
+++ b/sys/kern/subr_witness.c
@@ -217,6 +217,7 @@ static struct witness_order_list_entry order_lists[] = {
* leaf locks
*/
{ "allpmaps", &lock_class_mtx_spin },
+ { "vm page buckets mutex", &lock_class_mtx_spin },
{ "icu", &lock_class_mtx_spin },
#ifdef SMP
{ "smp rendezvous", &lock_class_mtx_spin },
OpenPOWER on IntegriCloud