Reduce deadlock cap
This commit is contained in:
@@ -83,6 +83,8 @@ default = [
|
||||
"serial_debug",
|
||||
"self_modifying",
|
||||
"x86_kvm_pv",
|
||||
#"busy_panic",
|
||||
#"drop_panic",
|
||||
#"syscall_debug"
|
||||
]
|
||||
|
||||
|
||||
+1
-1
@@ -206,7 +206,7 @@ impl<L: Level, T: Default> Default for Mutex<L, T> {
|
||||
}
|
||||
|
||||
#[cfg(feature = "busy_panic")]
|
||||
pub const DEADLOCK_SPIN_CAP: usize = 1_000_000_000;
|
||||
pub const DEADLOCK_SPIN_CAP: usize = 5000;
|
||||
|
||||
impl<L: Level, T> Mutex<L, T> {
|
||||
/// Creates a new mutex in an unlocked state ready for use
|
||||
|
||||
Reference in New Issue
Block a user