svn commit: r248164 - user/attilio/vmobj-readlock/sys/vm
Attilio Rao
attilio at FreeBSD.org
Mon Mar 11 14:47:09 UTC 2013
Author: attilio
Date: Mon Mar 11 14:47:08 2013
New Revision: 248164
URL: http://svnweb.freebsd.org/changeset/base/248164
Log:
Relax locking asserts for vm_page_is_valid().
Sponsored by: EMC / Isilon storage division
Modified:
user/attilio/vmobj-readlock/sys/vm/vm_page.c
Modified: user/attilio/vmobj-readlock/sys/vm/vm_page.c
==============================================================================
--- user/attilio/vmobj-readlock/sys/vm/vm_page.c Mon Mar 11 14:42:23 2013 (r248163)
+++ user/attilio/vmobj-readlock/sys/vm/vm_page.c Mon Mar 11 14:47:08 2013 (r248164)
@@ -2653,7 +2653,7 @@ vm_page_is_valid(vm_page_t m, int base,
{
vm_page_bits_t bits;
- VM_OBJECT_ASSERT_WLOCKED(m->object);
+ VM_OBJECT_ASSERT_LOCKED(m->object);
bits = vm_page_bits(base, size);
return (m->valid && ((m->valid & bits) == bits));
}
More information about the svn-src-user
mailing list