[lkml]   [1997]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Let me start over - "FPU & ptrace function"
Linux, like many OSes, save the fpu state in a lazy manner.  They
don't save the fpu state when it changes processes. However, when
another app tries to uses the fpu, the system traps and finally saves
the data. The "fnop" is there to force the system to save the child's
fpu state if it hasn't done so already.



David Howells wrote:
> > I have a lot of FPU knowledge, but little kernel experience.
> Well, I don't know much about the FPU, but a do know something about the
> kernel. I'm not sure about why you're using the "fnop" instruction, because
> surely that'll apply to the process/thread issuing the ptrace() and not the
> one who is being ptraced.
> David Howells

 \ /
  Last update: 2005-03-22 13:39    [W:0.033 / U:0.592 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site