Re: math_state_restore() question

2005-08-17 Thread Akira Tsukamoto
On Wed, 17 Aug 2005 17:42:22 +0900 (JST) Hiro Yoshioka <[EMAIL PROTECTED]> mentioned: > > Just take a look at __switch_to(), where __unlazy_fpu() is called. > > Thanks. Does an exception handler (like page_fault, etc) come > from __switch_to()? No, page_fault is generated when the location of m

Re: math_state_restore() question

2005-08-17 Thread Hiro Yoshioka
> Just take a look at __switch_to(), where __unlazy_fpu() is called. Thanks. Does an exception handler (like page_fault, etc) come from __switch_to()? Regards, Hiro - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majo

Re: math_state_restore() question

2005-08-17 Thread Hirokazu Takahashi
Hi, Just take a look at __switch_to(), where __unlazy_fpu() is called. > Hi, > > I have a quick question. > > The math_state_restore() restores the FPU/MMX/XMM states. > However where do we save the previous task's states if it is necessary? > > asmlinkage void math_state_restore(struct pt_reg

math_state_restore() question

2005-08-17 Thread Hiro Yoshioka
Hi, I have a quick question. The math_state_restore() restores the FPU/MMX/XMM states. However where do we save the previous task's states if it is necessary? asmlinkage void math_state_restore(struct pt_regs regs) { struct thread_info *thread = current_thread_info(); struct task