lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <50D2074D.4000101@linaro.org>
Date:	Wed, 19 Dec 2012 10:28:29 -0800
From:	John Stultz <john.stultz@...aro.org>
To:	Bernd Faust <berndfaust@...il.com>
CC:	linux-kernel@...r.kernel.org, linux-rt-users@...r.kernel.org
Subject: Re: [PATCH] Round the calculated scale factor in set_cyc2ns_scale()

On 12/05/2012 06:16 AM, Bernd Faust wrote:
> During some experiments with an external clock (in a FPGA), we saw that
> the TSC clock drifted approx. 2.5ms per second.
>
> This drift was caused by the current way of calculating the scale.
> In our case cpu_khz had a value of 3292725. This resulted in a scale
> value of 310. But when doing the calculation by hand it shows that the
> actual value is 310.9886188491, so a value of 311 would be more precise.
>
> With this change the value is rounded.
>
> Signed-off-by: Bernd Faust <berndfaust@...il.com>

Thanks for sending this in! I've queued it, but because I was slow here, 
it will have to wait for 3.9.

Sorry for the delay, and thanks again!
-john

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ