diff options
author | Zachary Amsden <zach@vmware.com> | 2005-09-04 00:56:39 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 09:06:11 +0200 |
commit | e7a2ff593c0e48b130434dee4d2fd3452a850e6f (patch) | |
tree | 89bca4c0a0818d1e217c76866f62c1b133a425d7 /drivers/oprofile | |
parent | [PATCH] i386: generate better code around descriptor update and access functions (diff) | |
download | linux-e7a2ff593c0e48b130434dee4d2fd3452a850e6f.tar.xz linux-e7a2ff593c0e48b130434dee4d2fd3452a850e6f.zip |
[PATCH] i386: load_tls() fix
Subtle fix: load_TLS has been moved after saving %fs and %gs segments to avoid
creating non-reversible segments. This could conceivably cause a bug if the
kernel ever needed to save and restore fs/gs from the NMI handler. It
currently does not, but this is the safest approach to avoiding fs/gs
corruption. SMIs are safe, since SMI saves the descriptor hidden state.
Signed-off-by: Zachary Amsden <zach@vmware.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/oprofile')
0 files changed, 0 insertions, 0 deletions