Skip to content
Commit 47a5c6fa authored by Linus Torvalds's avatar Linus Torvalds
Browse files

x86: save/restore eflags in context switch



(And reset it on new thread creation)

It turns out that eflags is important to save and restore not just
because of iopl, but due to the magic bits like the NT bit, which we
don't want leaking between different threads.

Tested-by: default avatarMike Galbraith <efault@gmx.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 1d19f176
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment