Page MenuHomeFreeBSD

Add explicit SI_SUB_EPOCH
ClosedPublic

Authored by cem on Nov 22 2019, 7:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 20, 2:09 AM
Unknown Object (File)
Sun, Jan 19, 8:52 PM
Unknown Object (File)
Jan 10 2025, 4:29 PM
Unknown Object (File)
Nov 29 2024, 2:50 PM
Unknown Object (File)
Sep 30 2024, 5:31 AM
Unknown Object (File)
Sep 27 2024, 6:34 AM
Unknown Object (File)
Sep 22 2024, 4:54 PM
Unknown Object (File)
Sep 21 2024, 5:11 AM
Subscribers

Details

Summary

Add explicit SI_SUB_EPOCH, after SI_SUB_TASKQ and before SI_SUB_SMP
(EARLY_AP_STARTUP). Rename existing "SI_SUB_TASKQ + 1" to SI_SUB_EPOCH.

epoch(9) consumers cannot epoch_alloc() before SI_SUB_EPOCH:SI_ORDER_SECOND,
but likely should allocate before SI_SUB_SMP. Prior to this change,
consumers (well, epoch itself, and net/if.c) just open-coded the
SI_SUB_TASKQ + 1 order to match epoch.c, but this is fragile.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 27720
Build 25919: arc lint + arc unit