mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: sebastien person <sebastien.person@sycomore.fr>
Cc: liste noyau linux <linux-kernel@vger.kernel.org>
Subject: Re: [timer] max timeout
Date: Wed, 23 May 2001 16:38:43 +0200	[thread overview]
Message-ID: <20010523163843.A24721@gruyere.muc.suse.de> (raw)
In-Reply-To: <20010523162801.38dabdff.sebastien.person@sycomore.fr>
In-Reply-To: <20010523162801.38dabdff.sebastien.person@sycomore.fr>; from sebastien.person@sycomore.fr on Wed, May 23, 2001 at 04:28:01PM +0200

On Wed, May 23, 2001 at 04:28:01PM +0200, sebastien person wrote:
> Is it bad to do the following call ?
> 
> 	mod_timer(&timer, jiffies+(0.1*HZ));

Yes very bad. gcc will generate a floating point add for that, corrupting
the user process' floating point context. 


-Andi


  reply	other threads:[~2001-05-23 14:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-23 14:28 sebastien person
2001-05-23 14:38 ` Andi Kleen [this message]
2001-05-23 14:58 ` Andrzej Krzysztofowicz
2001-05-25  8:24 ` sebastien person
2001-05-25 20:58 ` george anzinger
2001-05-25 21:26   ` Mark Frazer
2001-05-25 21:45     ` Horst von Brand

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=20010523163843.A24721@gruyere.muc.suse.de \
    --to=ak@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sebastien.person@sycomore.fr \
    /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

all inboxes | Powered by JetHome®