Re: [patch-mm 07/23] Tick management: spread timer interrupt

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Thomas Gleixner <tglx@...>
Cc: LKML <linux-kernel@...>, Andrew Morton <akpm@...>, Ingo Molnar <mingo@...>, Andi Kleen <ak@...>, Arjan van de Ven <arjan@...>, Venkatesh Pallipadi <venkatesh.pallipadi@...>, Chris Wright <chrisw@...>, john stultz <johnstul@...>
Date: Sunday, June 10, 2007 - 10:16 am

Hi,

On Sun, Jun 10, 2007 at 09:44:05AM -0000, Thomas Gleixner wrote:

Hmm, the cpu-specific offset calculation isn't too expensive, hopefully?
(div/mul in patch, maybe this could be done differently)

And is it granted that the do_div() compiles into a nice plain void
on non-SMP? Would be good to verify this.

And calculation order? Do multiply before division to minimize calculation
error?
(for a timer tick it probably doesn't matter, however)
And of course OTOH doing it the other way might lead to overflows...


Very nice, thanks!


Andreas Mohr
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch-mm 07/23] Tick management: spread timer interrupt, Thomas Gleixner, (Sun Jun 10, 5:44 am)
Re: [patch-mm 07/23] Tick management: spread timer interrupt, Andreas Mohr, (Sun Jun 10, 10:16 am)
Re: [patch-mm 07/23] Tick management: spread timer interrupt, Thomas Gleixner, (Sun Jun 10, 10:31 am)