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] [thread-next>] [day] [month] [year] [list]
Message-Id: <1210044218.17132.109.camel@localhost.localdomain>
Date:	Mon, 05 May 2008 20:23:38 -0700
From:	Daniel Walker <dwalker@...sta.com>
To:	"Carlos R. Mafra" <crmafra2@...il.com>
Cc:	linux-kernel@...r.kernel.org, tglx@...utronix.de,
	venkatesh.pallipadi@...el.com
Subject: Re: x86: Clean up computation of HPET .mult variables


On Mon, 2008-05-05 at 23:13 -0300, Carlos R. Mafra wrote:
> So the savings in my patch is due to using the period directly, and
> not the frequency. That's what my idea was, so if you object then
> my attempt was a failure and should be forgotten :-)
> 
> Or maybe I should create a clocksource_period2mult to replace 
> clocksource_hz2mult and save the extra operation in more places too?

The one concern I have is the rounding that is done in the
clocksource_hz2mult(). The div_sc doesn't include it .. You could add a
clocksource_period2mult(), that would help out any one later that has a
period instead of hz ..

Daniel

--
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