summaryrefslogtreecommitdiff
path: root/Kernel/Memory/PageDirectory.cpp
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2021-08-22 21:53:26 -0600
committerAndreas Kling <kling@serenityos.org>2021-08-28 20:53:38 +0200
commitdea62fe93c09900b1453519d6adc768eb177b18f (patch)
tree20164a3bc7c8858f974a95c35597f1d05cec4e9b /Kernel/Memory/PageDirectory.cpp
parent70518e69f40869b2fb6cbf69e33cbd24ecfa6d61 (diff)
downloadserenity-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/Memory/PageDirectory.cpp')
0 files changed, 0 insertions, 0 deletions