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)
Tue, Oct 14, 10:01 AM
Unknown Object (File)
Mon, Oct 13, 7:26 AM
Unknown Object (File)
Mon, Oct 13, 7:26 AM
Unknown Object (File)
Mon, Oct 13, 7:26 AM
Unknown Object (File)
Sun, Oct 12, 7:13 PM
Unknown Object (File)
Wed, Sep 17, 3:22 AM
Unknown Object (File)
Sep 13 2025, 6:32 AM
Unknown Object (File)
Sep 12 2025, 8:19 PM
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.