summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_radix.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2013-04-28 08:29:00 +0000
committeralc <alc@FreeBSD.org>2013-04-28 08:29:00 +0000
commita75dfbd08b981ac4b181d369f4347ae5f36f7c06 (patch)
treee1dccf92718947f55055e18abc7ce0d5aa83a997 /sys/vm/vm_radix.c
parent4f2702c1c39b657c73de8dbbaaa4cbe725c95a7a (diff)
downloadFreeBSD-src-a75dfbd08b981ac4b181d369f4347ae5f36f7c06.zip
FreeBSD-src-a75dfbd08b981ac4b181d369f4347ae5f36f7c06.tar.gz
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
Diffstat (limited to 'sys/vm/vm_radix.c')
-rw-r--r--sys/vm/vm_radix.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/vm/vm_radix.c b/sys/vm/vm_radix.c
index a9c565a..306dfca 100644
--- a/sys/vm/vm_radix.c
+++ b/sys/vm/vm_radix.c
@@ -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;
OpenPOWER on IntegriCloud