Skip to content
  • Matt Macy's avatar
    epoch(9): allow preemptible epochs to compose · 6573d758
    Matt Macy authored
    - 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
    6573d758