diff options
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r-- | sys/vm/vm_page.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 74eb575..6e08ec1 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -1211,6 +1211,7 @@ vm_page_unmanage(vm_page_t m) int s; s = splvm(); + mtx_assert(&vm_page_queue_mtx, MA_OWNED); if ((m->flags & PG_UNMANAGED) == 0) { if (m->wire_count == 0) vm_pageq_remove(m); |