lkml.org 
[lkml]   [2002]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Performance improvement with Akira Tsukamoto's Athlon copy_user patch
>I read the code of laze FPU state saving and confirmed that 
>if the function does not generate exception than
>'kernel_fpu_begin/end()' should assure fpu safe inside kernel.
>
>However, it is not enough where exception could rise, as Takahashi
>mentioned.


I had prototyped an exception safe kfpu framework, but then I didn't have the time to submit/cleanup it.

http://www.colorfullife.com/~manfred/linux-2.5/sse/patch-kfpu

Have you tried SSE based copy_to_user? With SSE, you can just save the affected registers, without unexpected sideeffects.

--
Manfred


-
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 13:31    [W:0.032 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site