Re: x86: Clean up computation of HPET .mult variables
From: Ingo Molnar
Date: Wed May 07 2008 - 03:14:12 EST
* Carlos R. Mafra <crmafra2@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/