ladybird/Kernel/Locking
Andrew Kaster 72de228695 Kernel: Verify interrupts are disabled when interacting with Mutexes
This should help prevent deadlocks where a thread blocks on a Mutex
while interrupts are disabled, and makes it impossible for the holder of
the Mutex to make forward progress because it cannot be scheduled in.

Hide it behind a new debug macro LOCK_IN_CRITICAL_DEBUG for now, because
Ext2FS takes a series of Mutexes from the page fault handler, which
executes with interrupts disabled.
2021-08-28 20:53:38 +02:00
..
Lockable.h Kernel: Move Lockable into its own header 2021-08-07 11:48:00 +02:00
LockLocation.h Kernel: Introduce LockLocation abstraction from SourceLocation 2021-08-13 20:42:39 +02:00
LockMode.h Kernel: Move LockMode into Locking/ 2021-08-07 11:48:00 +02:00
Mutex.cpp Kernel: Verify interrupts are disabled when interacting with Mutexes 2021-08-28 20:53:38 +02:00
Mutex.h Kernel: Remove unused ScopedLockRelease class 2021-08-23 02:17:02 +02:00
MutexProtected.h Kernel: Simplify MutexProtected<T> 2021-08-22 03:34:09 +02:00
Spinlock.h Kernel: Rename ScopedSpinlock => SpinlockLocker 2021-08-22 03:34:10 +02:00
SpinlockProtected.h Kernel: Rename ScopedSpinlock => SpinlockLocker 2021-08-22 03:34:10 +02:00