Re: [PATCH 2/6] x86, fpu: remove unnecessary user_fpu_end() in save_xstate_sig()

2012-08-26 Thread Borislav Petkov
On Fri, Aug 24, 2012 at 02:12:58PM -0700, Suresh Siddha wrote: > Few lines below we do drop_fpu() which is more safer. Remove the > unnecessary user_fpu_end() in save_xstate_sig(), which allows > the drop_fpu() to ignore any pending exceptions from the user-space > and drop the current fpu. > > Si

[PATCH 2/6] x86, fpu: remove unnecessary user_fpu_end() in save_xstate_sig()

2012-08-24 Thread Suresh Siddha
Few lines below we do drop_fpu() which is more safer. Remove the unnecessary user_fpu_end() in save_xstate_sig(), which allows the drop_fpu() to ignore any pending exceptions from the user-space and drop the current fpu. Signed-off-by: Suresh Siddha --- arch/x86/include/asm/fpu-internal.h | 17