diff options
author | Andrew Kaster <akaster@serenityos.org> | 2021-08-22 21:53:26 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-28 20:53:38 +0200 |
commit | dea62fe93c09900b1453519d6adc768eb177b18f (patch) | |
tree | 20164a3bc7c8858f974a95c35597f1d05cec4e9b /Kernel/FileSystem/VirtualFileSystem.cpp | |
parent | 70518e69f40869b2fb6cbf69e33cbd24ecfa6d61 (diff) | |
download | serenity-dea62fe93c09900b1453519d6adc768eb177b18f.zip |
Kernel: Guard the all processes list with a Spinlock rather than a Mutex
There are callers of processes().with or processes().for_each that
require interrupts to be disabled. Taking a Mutexe with interrupts
disabled is a recipe for deadlock, so convert this to a Spinlock.
Diffstat (limited to 'Kernel/FileSystem/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions