-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PEPC] Rework the priority queue to always put PEPC requests first
Define a 3rd type of priority for requests to corresponds to PEPC requests. In order to simplify the complicated logic on the queue, reworked it to always be front-to-back. `Pop` and `Peek` will always return the front request. The `Push` function will decide whether to push requests to the front or back instead. Rework the PRM logic that decides the current request fate to always allow PEPC requests to preempt the current request (if it's not also a PEPC request). Bug: 1462930 Change-Id: Icaa695be1e35beb2f4806ed5b3ae1d1c2dd3b894 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4915775 Reviewed-by: Thomas Nguyen <tungnh@chromium.org> Commit-Queue: Andy Paicu <andypaicu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1210402}
- Loading branch information
Showing
9 changed files
with
334 additions
and
98 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
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.