diff options
author | mpp <mpp@FreeBSD.org> | 2007-02-06 05:51:55 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 2007-02-06 05:51:55 +0000 |
commit | f0103758789a9e6d2e248c25c0e0f25b674f4ce1 (patch) | |
tree | 3d83b9d3ed983f9c0016c4426e371d652c93a9d8 /sys/kern/subr_witness.c | |
parent | 5efe7e2fa57ce73e354ebd329772954ef4046ae4 (diff) | |
download | FreeBSD-src-f0103758789a9e6d2e248c25c0e0f25b674f4ce1.zip FreeBSD-src-f0103758789a9e6d2e248c25c0e0f25b674f4ce1.tar.gz |
The change to the vm_page_queue_freelist lock from a spin lock to a
sleep lock missed the witness code, and the system will panic
immediately on boot if WITNESS is enabled.
Changed the witness definition to the new type.
Diffstat (limited to 'sys/kern/subr_witness.c')
-rw-r--r-- | sys/kern/subr_witness.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index fc7835b..ca4b0ef 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -366,6 +366,7 @@ static struct witness_order_list_entry order_lists[] = { */ { "system map", &lock_class_mtx_sleep }, { "vm page queue mutex", &lock_class_mtx_sleep }, + { "vm page queue free mutex", &lock_class_mtx_sleep }, { "vnode interlock", &lock_class_mtx_sleep }, { "cdev", &lock_class_mtx_sleep }, { NULL, NULL }, @@ -405,7 +406,6 @@ static struct witness_order_list_entry order_lists[] = { * leaf locks */ { "allpmaps", &lock_class_mtx_spin }, - { "vm page queue free mutex", &lock_class_mtx_spin }, { "icu", &lock_class_mtx_spin }, #ifdef SMP { "smp rendezvous", &lock_class_mtx_spin }, |