svn commit: r231031 - user/attilio/vmcontention/sys/vm

Florian Smeets flo at FreeBSD.org
Sun Feb 5 18:55:20 UTC 2012


Author: flo (ports committer)
Date: Sun Feb  5 18:55:20 2012
New Revision: 231031
URL: http://svn.freebsd.org/changeset/base/231031

Log:
  fix KTR consistency
  
  I'm committing this on behalf of Attilio as he cannot access svn right now.

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	Sun Feb  5 18:39:11 2012	(r231030)
+++ user/attilio/vmcontention/sys/vm/vm_radix.c	Sun Feb  5 18:55:20 2012	(r231031)
@@ -353,10 +353,10 @@ vm_radix_insert(struct vm_radix *rtree, 
 					rnode = root;
 					level = clev;
 					level--;
+					slot = vm_radix_slot(index, level);
 					CTR4(KTR_VM,
 		    "insert: unwind root %p, level %d, slot %d, allocmsk: 0x%x",
 					    root, level, slot, allocmsk);
-					slot = vm_radix_slot(index, level);
 					MPASS(level >= (ffs(allocmsk) - 1));
 					while (level > (ffs(allocmsk) - 1)) {
 						MPASS(level > 0);


More information about the svn-src-user mailing list