Permalink
Please
sign in to comment.
Browse files
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.
- Loading branch information
Showing
with
15 additions
and 39 deletions.
- +3 −26 Kernel/Arch/i386/CPU.cpp
- +5 −2 Kernel/Scheduler.cpp
- +0 −1 Kernel/Scheduler.h
- +7 −7 Kernel/Thread.cpp
- +0 −3 Kernel/Thread.h
0 comments on commit
fd74082