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
This commit is contained in:
parent
407131907e
commit
82af926a57
@ -666,7 +666,6 @@ vm_radix_lookup_le(struct vm_radix *rtree, vm_pindex_t index)
|
||||
*/
|
||||
if (slot > 0) {
|
||||
inc = VM_RADIX_UNITLEVEL(rnode->rn_clev);
|
||||
index = vm_radix_trimkey(index, rnode->rn_clev);
|
||||
index |= inc - 1;
|
||||
do {
|
||||
index -= inc;
|
||||
|
Loading…
Reference in New Issue
Block a user