lkml.org 
[lkml]   [2004]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.10-rc3, i386: fpu handling on sigreturn
On Thu, Dec 23, 2004 at 12:49:39AM +0100, Bodo Stroesser wrote:
> Andi Kleen wrote:
> >Bodo Stroesser <bstroesser@fujitsu-siemens.com> writes:
> >
> >>Now, the interrupted processes fpu no longer is cleared!
> >
> >
> >I agree it's a bug, although it's probably pretty obscure so people
> >didn't notice it. The right fix would be to just clear_fpu again
> >in this case. The problem has been in Linux forever.
> Wouldn't it be better to also reset used_math to 0? (As it has been,
> before the sighandler was started)

It would only be an optimization, and i doubt it's worth to optimize for
such an obscure case.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.040 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site