Page MenuHomeFreeBSD

libkern: remove old ffs/fls routines
ClosedPublic

Authored by mhorne on Jun 21 2023, 4:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 15, 10:59 PM
Unknown Object (File)
May 14 2026, 2:44 PM
Unknown Object (File)
May 14 2026, 1:46 PM
Unknown Object (File)
May 13 2026, 4:38 PM
Unknown Object (File)
May 11 2026, 3:58 AM
Unknown Object (File)
May 3 2026, 5:18 PM
Unknown Object (File)
May 3 2026, 1:11 PM
Unknown Object (File)
May 1 2026, 6:15 AM
Subscribers
None

Details

Summary

These are poorly optimized (linear search), and we now prefer the
compiler builtin routines on all platforms. These files can be removed.

Note that we still have copies of these slow routines in libc, e.g.
lib/libc/string/ffsl.c.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable