serenity/Kernel/Arch
Tom 21d288a10e Kernel: Make Thread::current smp-safe
Change Thread::current to be a static function and read using the fs
register, which eliminates a window between Processor::current()
returning and calling a function on it, which can trigger preemption
and a move to a different processor, which then causes operating
on the wrong object.
2021-01-27 21:12:24 +01:00
..
i386 Kernel: Make Thread::current smp-safe 2021-01-27 21:12:24 +01:00
PC AK: Rename KB, MB, GB to KiB, MiB, GiB 2020-08-16 16:33:28 +02:00