1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-03 21:22:14 +00:00
serenity/Kernel/Arch
Andreas Kling d21b8f9013 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.
2021-08-09 11:46:30 +02:00
..
PC Kernel: Move Kernel/Memory/ code into Kernel::Memory namespace 2021-08-06 14:05:58 +02:00
x86 Kernel/SMP: Fix ProcessorMessage deallocation bug 2021-08-09 11:46:30 +02:00