From: Jun Sun <jsun@mvista.com>
To: Zhang Fuxin <fxzhang@ict.ac.cn>
Cc: "linux-mips@oss.sgi.com" <linux-mips@oss.sgi.com>
Subject: Re: used_math not cleared for new processes?
Date: Wed, 27 Feb 2002 14:53:07 -0800 [thread overview]
Message-ID: <3C7D6353.3030001@mvista.com> (raw)
In-Reply-To: 200202020723.g127N4d30447@oss.sgi.com
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 parent reply other threads:[~2002-02-27 23:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-02 6:20 used_math not cleared for new processes? Zhang Fuxin
2002-02-27 22:53 ` Jun Sun [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3C7D6353.3030001@mvista.com \
--to=jsun@mvista.com \
--cc=fxzhang@ict.ac.cn \
--cc=linux-mips@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox