-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hardware revoker: correct wait for indicated epoch
The commentary says that we wait for the indicated (even) epoch to have finished, but in practice we were merely waiting for the next one to begin. Because has_revocation_finished_for_epoch() had the intended semantics and is the actual function used to gate release from quarantine, wait_for_completion()'s incorrect waiting was merely ineffecient, making malloc_internal spin a bit in the "Quarantine has enough memory to satisfy allocation" case.
- Loading branch information
Showing
3 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters