From: Siddha, Suresh B Date: Sun, 11 Nov 2007 19:27:59 +0000 (-0800) Subject: x86: fix taking DNA during 64bit sigreturn X-Git-Tag: v2.6.24-rc3~157 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92d140e21f1ce8cf99320afbbcad73879128e6dc;p=pandora-kernel.git x86: fix taking DNA during 64bit sigreturn restore sigcontext is taking a DNA exception while restoring FP context from the user stack, during the sigreturn. Appended patch fixes it by doing clts() if the app doesn't touch FP during the signal handler execution. This will stop generating a DNA, during the fxrstor in the sigreturn. This improves 64-bit lat_sig numbers by ~30% on my core2 platform. Signed-off-by: Suresh Siddha Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed