Modified crates/spinlock to provide support for multiple backoff strategies when encountering lock contention, including exp-backoff and rand-exp-backoff.
Modified BaseSpinLock in crates/spinlock to support locking with a different guard/backoff type, providing more flexibility.
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 in spinlock are implemented.
Modified crates/spinlock to provide support for multiple backoff strategies when encountering lock contention, including exp-backoff and rand-exp-backoff.
Modified
BaseSpinLock
in crates/spinlock to support locking with a different guard/backoff type, providing more flexibility.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 in spinlock are implemented.Changed the lock type used by
RunQueue
.