HomeFreeBSD

Avoid two 64-bit divisions per scanned block

Description

Avoid two 64-bit divisions per scanned block

Change math to make it like the ARC, using multiplications instead.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored-By: iXsystems, Inc.
Closes #13591

Details

Provenance
mavAuthored on Jun 27 2022, 6:08 PM
GitHub <noreply@github.com>Committed on Jun 27 2022, 6:08 PM
Parents
rGc0bf952c8461: Several B-tree optimizations
Branches
Unknown
Tags
Unknown