-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
hp::queue::{push,pop}_node
functions.
They were buggy, and not really needed. Also make a new function that takes a closure which is passed the HP before returning. This makes it possible to either push it to the hp queue or spin, such that we don't need to chunk up the HPs in blocks, as we do with EBR. Chunking would be possible, but tiresome, as we would need to mark all HPs in a block or something, so that we don't `scan` all of them every check for when the block is safe to free. `hp::queue::test::stress_test` runs fine.
- Loading branch information
Martin Hafskjold Thoresen
committed
Nov 20, 2017
1 parent
821eb7e
commit e364d15
Showing
3 changed files
with
61 additions
and
140 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