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

Attilio Rao attilio at FreeBSD.org
Wed Mar 13 00:41:37 UTC 2013


Author: attilio
Date: Wed Mar 13 00:41:37 2013
New Revision: 248221
URL: http://svnweb.freebsd.org/changeset/base/248221

Log:
  For uniformity, use the user provided index.
  
  Sponsored by:	EMC / Isilon storage division
  Reviewed and reported 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	Tue Mar 12 23:14:18 2013	(r248220)
+++ user/attilio/vmcontention/sys/vm/vm_radix.c	Wed Mar 13 00:41:37 2013	(r248221)
@@ -442,7 +442,7 @@ vm_radix_insert(struct vm_radix *rtree, 
 	 * Setup the new intermediate node and add the 2 children: the
 	 * new object and the older edge.
 	 */
-	tmp2 = vm_radix_node_get(vm_radix_trimkey(page->pindex, clev - 1), 2,
+	tmp2 = vm_radix_node_get(vm_radix_trimkey(index, clev - 1), 2,
 	    clev);
 	rnode->rn_child[slot] = tmp2;
 	vm_radix_addpage(tmp2, index, clev, page);


More information about the svn-src-user mailing list