HomeFreeBSD

MFC r284591 (by avg): illums compat: use flsl/flsll for highbit/highbit64

Description

MFC r284591 (by avg): illums compat: use flsl/flsll for highbit/highbit64

Do that only when when fast inline versions are available.
At the moment that can be the case only in the kernel and not for all
platforms.

The original code uses the binary search and that's kept as a fallback.
This is a micro optimization.

Details

Provenance
mavAuthored on
Parents
rS288520: MFC r279996 (by smh): Allow zvol_geom_worker to process BIO_DELETE's
Branches
Unknown
Tags
Unknown