svn commit: r206059 - user/kmacy/head_page_lock/sys/vm
Kip Macy
kmacy at FreeBSD.org
Thu Apr 1 23:22:17 UTC 2010
Author: kmacy
Date: Thu Apr 1 23:22:17 2010
New Revision: 206059
URL: http://svn.freebsd.org/changeset/base/206059
Log:
fix notowned assert
Modified:
user/kmacy/head_page_lock/sys/vm/vm_page.h
Modified: user/kmacy/head_page_lock/sys/vm/vm_page.h
==============================================================================
--- user/kmacy/head_page_lock/sys/vm/vm_page.h Thu Apr 1 22:52:09 2010 (r206058)
+++ user/kmacy/head_page_lock/sys/vm/vm_page.h Thu Apr 1 23:22:17 2010 (r206059)
@@ -275,7 +275,7 @@ extern struct vpglocks vm_page_queue_loc
#ifdef VM_PAGE_LOCK
#define vm_page_lockptr(m) pmap_page_lockptr(m)
-#define vm_page_lock_queues_assert_notowned() mtx_assert(vm_page_lockptr((m)), MA_NOTOWNED)
+#define vm_page_lock_queues_assert_notowned() mtx_assert(vm_page_queue_mtx, MA_NOTOWNED)
#else
#define vm_page_lockptr(m) (&vm_page_queue_mtx)
#define vm_page_lock_queues_assert_notowned()
More information about the svn-src-user
mailing list