HomeFreeBSD

There are three places where we return from a function which entered an

Description

There are three places where we return from a function which entered an
epoch section without exiting that epoch section. This is bad for two
reasons: the epoch section won't exit, and we will leave the epoch tracker
from the stack on the epoch list.

Fix the epoch leak by making sure we exit epoch sections before returning.

Reviewed by: ae, gallatin, mmacy
Approved by: re (gjb, kib)
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D17450

Details

Provenance
jtlAuthored on Oct 9 2018, 1:26 PM
Parents
rGfc5e4199a63c: following "Setup, Conventions, and Traditions" (Committer's Guide);
Branches
Unknown
Tags
Unknown

Event Timeline