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
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 26 2022, 5:10 PM
Parents
rGdc91a6a660c7: Several B-tree optimizations
Branches
Unknown
Tags
Unknown

Event Timeline