svn commit: r248222 - user/attilio/vmcontention/sys/vm
Attilio Rao
attilio at FreeBSD.org
Wed Mar 13 01:00:35 UTC 2013
Author: attilio
Date: Wed Mar 13 01:00:34 2013
New Revision: 248222
URL: http://svnweb.freebsd.org/changeset/base/248222
Log:
Add a further safety belt to prevent inconsistencies.
Sponsored by: EMC / Isilon storage division
Submitted by: alc
Modified:
user/attilio/vmcontention/sys/vm/vm_radix.c
Modified: user/attilio/vmcontention/sys/vm/vm_radix.c
==============================================================================
--- user/attilio/vmcontention/sys/vm/vm_radix.c Wed Mar 13 00:41:37 2013 (r248221)
+++ user/attilio/vmcontention/sys/vm/vm_radix.c Wed Mar 13 01:00:34 2013 (r248222)
@@ -375,6 +375,8 @@ vm_radix_insert(struct vm_radix *rtree,
int slot;
uint16_t clev;
+ KASSERT(index == page->index, ("%s: index != page->index", __func__));
+
/*
* The owner of record for root is not really important because it
* will never be used.
More information about the svn-src-user
mailing list