HomeFreeBSD

epoch(9): allow preemptible epochs to compose

Description

epoch(9): allow preemptible epochs to compose

  • Add tracker argument to preemptible epochs
  • Inline epoch read path in kernel and tied modules
  • Change in_epoch to take an epoch as argument
  • Simplify tfb_tcp_do_segment to not take a ti_locked argument, there's no longer any benefit to dropping the pcbinfo lock and trying to do so just adds an error prone branchfest to these functions
  • Remove cases of same function recursion on the epoch as recursing is no longer free.
  • Remove the the TAILQ_ENTRY and epoch_section from struct thread as the tracker field is now stack or heap allocated as appropriate.

Tested by: pho and Limelight Networks
Reviewed by: kbowling at llnw dot com
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D16066

Details

Provenance
mmacyAuthored on Jul 4 2018, 2:47 AM
Parents
rGe98bd7507385: META_MODE: Fix wanting a meta file in source tree.
Branches
Unknown
Tags
Unknown