Page MenuHomeFreeBSD

newbus: remove support for SINGLETON

Authored by imp on Apr 26 2021, 5:13 PM.



Revert rest of de8dd262c43b since it's now unused.

jhibbits@ introduced this to give powerpc MMU functions IFUNC like
performance while retaining the kobj interface, speeding up operations
10-20%. Since there was only ever one instance of the mmu interface
active at any given time, we could cache the looked up results more

powerpc migrated to using IFUNCs to get an even larger performance boost
in 45b69dd63e, deleting the two files it was added to in de8dd262c43b.

However, there's few, if any, other potential applications of this to
the tree today. It's now unused and undocumented. Retire it to eliminate
this wart and to preclude the need to document it. Should a simmilar
case arise in the future, the code is in git...

Discusssed with: jhibbits@
Sponsored by: Netflix

Diff Detail

rG FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

imp requested review of this revision.Apr 26 2021, 5:13 PM
imp created this revision.
This revision is now accepted and ready to land.Apr 26 2021, 5:28 PM
This revision was automatically updated to reflect the committed changes.