Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented various backoffs and per-CPU rng #130

Merged
merged 1 commit into from
Jul 18, 2024

Commits on Jul 18, 2024

  1. Implemented various backoffs and per-CPU rng

    1. Modified crates/spinlock to provide support for multiple backoff strategies
    when encountering lock contention, including exp-backoff.
    
    2. Modified `BaseSpinLock` in crates/spinlock to support locking with a
    different guard/backoff type, providing more flexibility.
    
    3. Added a new module `ruxrand` that aims to provide support for the usage
    of RNGs inside kernel. Currently a per-CPU RNG and support for rand-exp-backoff
    are implemented.
    
    4. Changed the lock type used by `RunQueue`.
    Sssssaltyfish committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    610e92e View commit details
    Browse the repository at this point in the history