All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Daniel Walker <dwalker@mvista.com>,
	linux-kernel@vger.kernel.org, tglx@linutronix.de,
	venkatesh.pallipadi@intel.com,
	"Carlos R. Mafra" <crmafra2@gmail.com>
Subject: Re: x86: Clean up computation of HPET .mult variables
Date: Wed, 7 May 2008 09:13:34 +0200	[thread overview]
Message-ID: <20080507071334.GG32195@elte.hu> (raw)
In-Reply-To: <20080506205003.GA3749@beyonder.ift.unesp.br>


* Carlos R. Mafra <crmafra2@gmail.com> wrote:

> PS: I also computed the "exact" value for hpet_clockevent.mult
> by hand and got 
> 
> hpet_clockevent.mult = 61496114.58 (exact)
> hpet_clockevent.mult = 61496114    (my patch)
> hpet_clockevent.mult = 61496110    (original)
> 
> so my patch in fact improves the accuracy (due to the fact that it 
> removes the extra do_div() to compute the frequency, which originaly 
> did not have the rounding trick.)

that's reassuring, thanks Carlos - patch is still queued up in x86.git. 
(with a v2.6.27-ish merge target, provided it all goes well.)

	Ingo

  parent reply	other threads:[~2008-05-07  7:14 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-05 23:11 x86: Clean up computation of HPET .mult variables Carlos R. Mafra
2008-05-05 23:58 ` Daniel Walker
2008-05-06  2:13   ` Carlos R. Mafra
2008-05-06  3:23     ` Daniel Walker
2008-05-06 12:59       ` Carlos R. Mafra
2008-05-06 16:21         ` Daniel Walker
2008-05-06 20:50           ` Carlos R. Mafra
2008-05-07  2:17             ` Daniel Walker
2008-05-07  3:39               ` Carlos R. Mafra
2008-05-07  4:21                 ` Daniel Walker
2008-05-07  7:13             ` Ingo Molnar [this message]
2008-05-06 12:43 ` Ingo Molnar
2008-05-06 13:13   ` Carlos R. Mafra
2008-05-06 18:51   ` rtc-cmos.c: Build fix Carlos R. Mafra
2008-05-07  7:10     ` Ingo Molnar
2008-05-07 21:31     ` Andrew Morton
2008-05-09  8:32       ` Ingo Molnar
2008-05-09 12:33         ` Carlos R. Mafra

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=20080507071334.GG32195@elte.hu \
    --to=mingo@elte.hu \
    --cc=crmafra2@gmail.com \
    --cc=dwalker@mvista.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    --cc=venkatesh.pallipadi@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.