summaryrefslogtreecommitdiff
path: root/Kernel/Memory/MemoryManager.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-08 19:03:01 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-09 11:46:30 +0200
commitd21b8f9013bbcc84b6483d2ff014e66d74dfdb7c (patch)
tree9d596580eacdd9057a33bbfa8bb759360635b7c1 /Kernel/Memory/MemoryManager.cpp
parentf3fed411d49900dab144a6d90bf6fd66492f6b63 (diff)
downloadserenity-d21b8f9013bbcc84b6483d2ff014e66d74dfdb7c.zip
Kernel/SMP: Fix ProcessorMessage deallocation bug
Due to a boolean mistake in smp_return_to_pool(), we didn't retry pushing the message onto the freelist after a failed attempt. This caused the message pool to eventually become completely empty after enough contentious access attempts. This patch also adds a pause hint to the CPU in the failed attempt code path.
Diffstat (limited to 'Kernel/Memory/MemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions