Page MenuHomeFreeBSD

isa_common: find next bit faster
ClosedPublic

Authored by dougm on Jul 31 2023, 6:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 20, 3:12 PM
Unknown Object (File)
Mon, Oct 14, 5:39 PM
Unknown Object (File)
Oct 1 2024, 9:30 AM
Unknown Object (File)
Sep 24 2024, 7:12 PM
Unknown Object (File)
Sep 24 2024, 4:28 PM
Unknown Object (File)
Sep 18 2024, 7:57 PM
Unknown Object (File)
Sep 18 2024, 9:06 AM
Unknown Object (File)
Sep 18 2024, 4:24 AM
Subscribers
None

Details

Summary

Since ffs is no longer implemented with a linear search, find_next_bit can work in constant time, with masking.

Diff Detail

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

Event Timeline

dougm requested review of this revision.Jul 31 2023, 6:12 PM
dougm created this revision.

The change is good... but I wonder how many systems have isa pnp cards these days...

This revision is now accepted and ready to land.Jul 31 2023, 11:12 PM
This revision was automatically updated to reflect the committed changes.