Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2013 00:41:37 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r248221 - user/attilio/vmcontention/sys/vm
Message-ID:  <201303130041.r2D0fbxe098106@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303130041.r2D0fbxe098106>