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
Unknown Object (File)
Sun, Sep 28, 5:19 PM
Unknown Object (File)
Sun, Sep 21, 5:12 AM
Unknown Object (File)
Sep 13 2025, 6:48 AM
Unknown Object (File)
Sep 13 2025, 6:01 AM
Unknown Object (File)
Sep 13 2025, 5:08 AM
Unknown Object (File)
Sep 13 2025, 3:10 AM
Unknown Object (File)
Sep 13 2025, 12:29 AM
Unknown Object (File)
Aug 24 2025, 2:55 AM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/vm/vm_object.c
169 ↗(On Diff #69235)

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
169 ↗(On Diff #69235)

That makes sense. Maybe COUNTER_U64_DEFINE_EARLY?

sys/vm/vm_object.c
169 ↗(On Diff #69235)

Sure.

Use COUNTER_U64_DEFINE_EARLY.

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