mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +00:00
Kernel: Switch to eagerly restoring x86 FPU state on context switch
Lazy FPU restore is well known to be vulnerable to timing attacks, and eager restore is a lot simpler anyway, so let's just do it eagerly.
This commit is contained in:
parent
9c0836ce97
commit
fd740829d1
5 changed files with 15 additions and 39 deletions
|
@ -12,7 +12,6 @@ struct RegisterDump;
|
|||
struct SchedulerData;
|
||||
|
||||
extern Thread* current;
|
||||
extern Thread* g_last_fpu_thread;
|
||||
extern Thread* g_finalizer;
|
||||
extern Thread* g_colonel;
|
||||
extern WaitQueue* g_finalizer_wait_queue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue