HomeFreeBSD

newbus: remove support for SINGLETON

Description

newbus: remove support for SINGLETON

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
agressively.

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@
Reviewed by: jhb@
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D29997

Details

Provenance
impAuthored on Apr 26 2021, 5:04 PM
Differential Revision
D29997: newbus: remove support for SINGLETON
Parents
rG5eb9c93a20d7: etcupdate: Add -D destdir to usage for 'extract'.
Branches
Unknown
Tags
Unknown