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)
Sun, Apr 21, 9:18 AM
Unknown Object (File)
Mar 18 2024, 8:36 PM
Unknown Object (File)
Dec 31 2023, 3:51 AM
Unknown Object (File)
Dec 20 2023, 5:30 AM
Unknown Object (File)
Dec 10 2023, 2:02 PM
Unknown Object (File)
Nov 17 2023, 5:53 AM
Unknown Object (File)
Oct 13 2023, 6:06 AM
Unknown Object (File)
Oct 10 2023, 7:57 PM
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