lkml.org 
[lkml]   [2000]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Question: Using floating point in the kernel
Date
From
> > > It is sufficient when you do tsk->flags |= PF_USEDFPU first.
> >
> > Unless you sleep
>
> Unless I'm missing something the lazy FPU state save in the 2.4 switch_to will
> do the right thing at least on x86. Your kernel FPU state will overwrite the
> user FPU state in current, but that's ok because it is undefined anyways
> (and you restore the correct state when you wake up again)

2.4 maybe. Im not totally sure on that code. 2.2 wont

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

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