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, Sep 24, 7:12 PM
Unknown Object (File)
Tue, Sep 24, 4:28 PM
Unknown Object (File)
Wed, Sep 18, 7:57 PM
Unknown Object (File)
Wed, Sep 18, 9:06 AM
Unknown Object (File)
Wed, Sep 18, 4:24 AM
Unknown Object (File)
Tue, Sep 17, 7:40 AM
Unknown Object (File)
Mon, Sep 16, 11:12 AM
Unknown Object (File)
Mon, Sep 16, 12:56 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

Lint
Lint Skipped
Unit
Tests Skipped

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.