mirror of
https://github.com/RGBCube/serenity
synced 2025-10-13 16:42:08 +00:00
![]() - Use the receiver's per-CPU entry in the message, instead of the sender's. (Using the sender's entry wasn't safe for broadcast messages since the same entry ended up on multiple message queues.) - Retry the CAS until it *succeeds* instead of *fails*. This closes a race window, and also ensures a correct return value. The return value is used by the caller to decide whether to broadcast an IPI. This was the main reason smp=on was so slow. We had CPUs busy-waiting until someone else triggered an IPI and moved things along. - Add a CPU pause hint to the spin loop. :^) |
||
---|---|---|
.. | ||
ASM_wrapper.cpp | ||
CPU.cpp | ||
Interrupts.cpp | ||
Processor.cpp | ||
ProcessorInfo.cpp | ||
SafeMem.cpp | ||
TrapFrame.cpp |