-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
epoch: Make loom able to test treiber stack
With this change, loom runs to completion on the treiber test! I ran it with `LOOM_MAX_PREEMPTIONS=3`, and it took _forever_ (well, it took 2h), but eventually finished with: ================== Iteration 112280000 ================== Completed in 112291514 iterations ok With `LOOM_MAX_PREEMPTIONS=2` it "only" took 13 minutes, and finished with: ================== Iteration 9680000 ================== Completed in 9690926 iterations ok I updated the CI script to run with `LOOM_MAX_PREEMPTIONS=2`. Note that this change depends on tokio-rs/loom#125 and tokio-rs/loom#128. The `patch` in the root `Cargo.toml` should be removed once a new loom release is made.
- Loading branch information
Showing
5 changed files
with
21 additions
and
5 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