-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[3/3] Spec-compliant CASE eviction policy algorithm (#19903)
* Session Eviction Policy Algorithm. This implements a reasonably complete session eviction policy algorithm that meets the spec minima requirements for sessions / fabric and ensures that can be up-held at all times on a given fabric regardless of activity on other fabrics. It also adds a more nuanced selection algorithm to correctly balance the multiple factors that go into selecting a session for eviction. * Made the temporary SortableSessions list an array on stack as opposed to being allocated out of the heap. * Review feedback * Review feedback * Apply suggestions from code review Co-authored-by: Boris Zbarsky <[email protected]> Co-authored-by: Boris Zbarsky <[email protected]>
- Loading branch information
Showing
7 changed files
with
692 additions
and
47 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
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
Oops, something went wrong.