svn commit: r250018 - head/sys/vm
Alan Cox
alc at FreeBSD.org
Sun Apr 28 08:29:01 UTC 2013
Author: alc
Date: Sun Apr 28 08:29:00 2013
New Revision: 250018
URL: http://svnweb.freebsd.org/changeset/base/250018
Log:
Eliminate an unneeded call to vm_radix_trimkey() from vm_radix_lookup_le().
This call is clearing bits from the key that will be set again by the next
line.
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/vm/vm_radix.c
Modified: head/sys/vm/vm_radix.c
==============================================================================
--- head/sys/vm/vm_radix.c Sun Apr 28 07:52:46 2013 (r250017)
+++ head/sys/vm/vm_radix.c Sun Apr 28 08:29:00 2013 (r250018)
@@ -666,7 +666,6 @@ restart:
*/
if (slot > 0) {
inc = VM_RADIX_UNITLEVEL(rnode->rn_clev);
- index = vm_radix_trimkey(index, rnode->rn_clev);
index |= inc - 1;
do {
index -= inc;
More information about the svn-src-head
mailing list