Page MenuHomeFreeBSD

locator: Migrate to OO version of locator
AbandonedPublic

Authored by imp on Dec 8 2021, 1:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 1 2024, 12:17 AM
Unknown Object (File)
Nov 3 2023, 4:38 AM
Unknown Object (File)
Oct 1 2023, 4:37 AM
Unknown Object (File)
Sep 29 2023, 5:09 AM
Unknown Object (File)
May 20 2023, 6:03 PM
Subscribers

Details

Reviewers
jhb
Summary

Create an OO version of locator. Nicer, imho.

Sponsored by: Netflix

Test Plan

John: offered as the more oo version of this, less hacky. The code is a little longer, but should be easier to expand to new locators. It also dodges the 'which is more likely' discussions we were getting into wrt defaults.
I've just started testing this...

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Warnings
SeverityLocationCodeMessage
Warningsys/sys/locator.h:50SPELL1Possible Spelling Mistake
Warningsys/sys/locator.h:51SPELL1Possible Spelling Mistake
Warningsys/sys/locator.h:52SPELL1Possible Spelling Mistake
Warningsys/sys/locator.h:55SPELL1Possible Spelling Mistake
Warningsys/sys/locator.h:56SPELL1Possible Spelling Mistake
Unit
No Test Coverage
Build Status
Buildable 43225
Build 40113: arc lint + arc unit

Event Timeline

imp requested review of this revision.Dec 8 2021, 1:56 AM
imp added a reviewer: jhb.
sys/sys/kernel.h
140

I kinda think this is any time after locks are running. It can be after the discussed SI_SUB_BUS perhaps, but might be better before so that we can maybe wire things early? comments?

Also, commit message sucks and I need man pages.