Page MenuHomeFreeBSD

Use COUNTER_U64_SYSINIT() in a few places where it simplifies things.
ClosedPublic

Authored by markj on Mar 5 2020, 7:11 PM.
Tags
None
Referenced Files
F133115314: D23978.id69275.diff
Thu, Oct 23, 2:40 AM
F133115309: D23978.id69268.diff
Thu, Oct 23, 2:40 AM
F133115307: D23978.id.diff
Thu, Oct 23, 2:40 AM
F133115305: D23978.id69235.diff
Thu, Oct 23, 2:40 AM
F133078127: D23978.diff
Wed, Oct 22, 6:48 PM
Unknown Object (File)
Sat, Oct 18, 5:42 PM
Unknown Object (File)
Sun, Sep 28, 5:19 PM
Unknown Object (File)
Sep 21 2025, 5:12 AM
Subscribers

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 29828
Build 27654: arc lint + arc unit

Event Timeline

sys/vm/vm_object.c
167

This sequence of declaration/EARLY_COUNTER initialization and SYSINIT repeats very often in your patch. Would it make sense to add e.g. COUNTER_U64_SYSINIT_EARLY that would do everything?

sys/vm/vm_object.c
167

That makes sense. Maybe COUNTER_U64_DEFINE_EARLY?

sys/vm/vm_object.c
167

Sure.

Use COUNTER_U64_DEFINE_EARLY.

This revision is now accepted and ready to land.Mar 6 2020, 4:22 PM