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)
Wed, May 22, 8:07 PM
Unknown Object (File)
Wed, May 22, 8:07 PM
Unknown Object (File)
Wed, May 22, 8:06 PM
Unknown Object (File)
Mon, May 20, 8:36 PM
Unknown Object (File)
May 2 2024, 9:08 PM
Unknown Object (File)
May 2 2024, 5:30 PM
Unknown Object (File)
May 2 2024, 5:08 PM
Unknown Object (File)
May 2 2024, 3:05 PM
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