| To: | Zhang Fuxin <fxzhang@ict.ac.cn> |
|---|---|
| Subject: | Re: used_math not cleared for new processes? |
| From: | Jun Sun <jsun@mvista.com> |
| Date: | Wed, 27 Feb 2002 14:53:07 -0800 |
| Cc: | "linux-mips@oss.sgi.com" <linux-mips@oss.sgi.com> |
| References: | <200202020723.g127N4d30447@oss.sgi.com> |
| Sender: | owner-linux-mips@oss.sgi.com |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1 |
Zhang Fuxin wrote: > hi,linux-mips, > I find that current->used_math isn't cleared when we start a new > process.Is it > intended? I mean 'start_thread' in do_exec but not 'copy_thread' in do_fork > when > speaking 'start a new process'. We can/should? keep used_math for the > latter,but for > the former? > I think it make sense to clear used_math in do_exec(). It also improvies the performance slightly by not loading the parent's FPU context when it uses the FPU for the first time. Do you have a patch for this? Jun |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | CONFIG_CPU_HAS_WB (or to sync or to nop), Kevin Paul Herbert |
|---|---|
| Next by Date: | Re: CONFIG_CPU_HAS_WB (or to sync or to nop), Jason Gunthorpe |
| Previous by Thread: | used_math not cleared for new processes?, Zhang Fuxin |
| Next by Thread: | Re: Re: used_math not cleared for new processes?, Zhang Fuxin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |