Page MenuHomeFreeBSD

Add explicit SI_SUB_EPOCH
ClosedPublic

Authored by cem on Fri, Nov 22, 7:49 PM.

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 OK
Unit
No Unit Test Coverage
Build Status
Buildable 27720
Build 25919: arc lint + arc unit

Event Timeline

cem created this revision.Fri, Nov 22, 7:49 PM
mmacy accepted this revision.Fri, Nov 22, 11:10 PM

LGTM

This revision is now accepted and ready to land.Fri, Nov 22, 11:10 PM
markm accepted this revision.Sat, Nov 23, 9:57 AM

*LIKE*

kbowling closed this revision.Sat, Nov 23, 10:11 PM
kbowling added a subscriber: kbowling.

Committed in rS355024