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)
Tue, Apr 22, 4:15 AM
Unknown Object (File)
Mon, Apr 21, 3:31 PM
Unknown Object (File)
Sat, Apr 19, 10:58 PM
Unknown Object (File)
Sat, Apr 19, 10:13 PM
Unknown Object (File)
Sat, Apr 19, 7:45 PM
Unknown Object (File)
Thu, Apr 17, 11:07 PM
Unknown Object (File)
Sun, Apr 13, 6:46 PM
Unknown Object (File)
Feb 6 2025, 3:47 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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 52239
Build 49130: arc lint + arc unit