HomeFreeBSD

kern/rman: update rman_make_alignment_flags()

Description

kern/rman: update rman_make_alignment_flags()

The flsl() function makes use of hardware functionality to compute the
value faster than this loop. The only deviation from flsl() is at 0.

Reviewed by: imp,jhb
Pull Request: https://github.com/freebsd/freebsd-src/pull/1224

Details

Provenance
ehem_freebsd_m5p.comAuthored on May 9 2024, 4:47 AM
impCommitted on Tue, May 21, 11:52 PM
Parents
rG037946dc9b07: kern/rman: remove rman_reserve_resource_bound(), partially revert 13fb6657723
Branches
Unknown
Tags
Unknown