From: Andi Kleen <ak@linux.intel.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Andi Kleen <andi@firstfloor.org>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86: Reset FPU on exec
Date: Tue, 21 Apr 2015 06:51:27 -0700 [thread overview]
Message-ID: <20150421135127.GB13605@tassilo.jf.intel.com> (raw)
In-Reply-To: <alpine.DEB.2.11.1504211119450.13914@nanos>
On Tue, Apr 21, 2015 at 11:35:58AM +0200, Thomas Gleixner wrote:
> On Fri, 17 Apr 2015, Andi Kleen wrote:
>
> > +void reset_fpu(void)
> > +{
> > + drop_init_fpu(current);
> > +}
>
> So we have a new function which is merily a wrapper around a non
> existent function.
I originally tried to use the inline function directly, but
it's defined in "fpu-internal.h" and including it in asm/elf.h
causing all kinds of issues.
>
> What's the exact purpose of this patch aside of breaking the build?
Try reading the description?
Also it builds fine here.
-Andi
--
ak@linux.intel.com -- Speaking for myself only
next prev parent reply other threads:[~2015-04-21 13:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-18 1:06 [PATCH] x86: Reset FPU on exec Andi Kleen
2015-04-21 9:35 ` Thomas Gleixner
2015-04-21 13:51 ` Andi Kleen [this message]
2015-04-21 14:23 ` Thomas Gleixner
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=20150421135127.GB13605@tassilo.jf.intel.com \
--to=ak@linux.intel.com \
--cc=andi@firstfloor.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/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