diff options
author | Liav A <liavalb@gmail.com> | 2023-04-21 14:48:11 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-04-22 07:16:41 +0200 |
commit | ee4e9b807ab6bf80bb460079f72e30d0d90d7f02 (patch) | |
tree | f17a0b6e25f1fe599c189119c6fed4b46383abbf /.ycm_extra_conf.py | |
parent | cf3835b29bc13b1713ef511b6948ba247b4e7594 (diff) | |
download | serenity-ee4e9b807ab6bf80bb460079f72e30d0d90d7f02.zip |
Kernel: Protect internal structures in InodeWatcher with spinlocks
This was the last change that was needed to be able boot with the flag
of LOCK_IN_CRITICAL_DEBUG. That flag is not always enabled because there
are still other issues in which we hold a spinlock and still try to lock
a mutex.
Instead of using one global mutex we can protect internal structures of
the InodeWatcher class with SpinlockProtected wrappers. This in turn
allows the InodeWatcher code to be called from other parts in the kernel
while holding a prior spinlock properly.
Diffstat (limited to '.ycm_extra_conf.py')
0 files changed, 0 insertions, 0 deletions