mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-23 18:14:56 +01:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250018
@ -666,7 +666,6 @@ restart:
|
|||||||
*/
|
*/
|
||||||
if (slot > 0) {
|
if (slot > 0) {
|
||||||
inc = VM_RADIX_UNITLEVEL(rnode->rn_clev);
|
inc = VM_RADIX_UNITLEVEL(rnode->rn_clev);
|
||||||
index = vm_radix_trimkey(index, rnode->rn_clev);
|
|
||||||
index |= inc - 1;
|
index |= inc - 1;
|
||||||
do {
|
do {
|
||||||
index -= inc;
|
index -= inc;
|
||||||
|
Loading…
Reference in New Issue
Block a user