public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Linus Torvalds <torvalds@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Use of floating point in the kernel
Date: Wed, 07 Jan 2004 19:54:39 -0800	[thread overview]
Message-ID: <3FFCD47F.1010007@zytor.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0401071948470.2131@home.osdl.org>

Linus Torvalds wrote:
> 
> We really should, but there really are some rare cases where it is 
> actually ok.
> 
> In particular, you _can_ do math, if you just do the proper
> "kernel_fpu_begin()"/"kernel_fpu_end()" around it, and you have reason to 
> believe that you can assume a math processor exists. 
> 
> Is it needed? I dunno. I'd frown on it in general, but I don't see it 
> being fundamentally wrong under the rigth circumstances.
> 

Sure; however, perhaps those can be marked separately in the Makefile.

	-hpa


  reply	other threads:[~2004-01-08  3:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-07 23:59 Use of floating point in the kernel Pekka Pietikainen
2004-01-08  3:34 ` H. Peter Anvin
2004-01-08  3:48   ` Dave Jones
2004-01-08  3:52   ` Linus Torvalds
2004-01-08  3:54     ` H. Peter Anvin [this message]
     [not found] <1bvUw-7Ry-15@gated-at.bofh.it>
     [not found] ` <1bzbF-4cG-5@gated-at.bofh.it>
     [not found]   ` <1bzv7-4Cw-3@gated-at.bofh.it>
2004-01-08  4:12     ` Andi Kleen

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=3FFCD47F.1010007@zytor.com \
    --to=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.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