Re: [PATCH] MIPS: Octeon: Use non-overflowing arithmetic in sched_clock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 08, 2010 at 02:47:36PM -0800, David Daney wrote:

> With typical mult and shift values, the calculation for Octeon's
> sched_clock overflows when using 64-bit arithmetic.  Use 128-bit
> calculations instead.

Applied though my first thought whenever I see extended precission math
is gross - maybe we're going to find a better solution.  Hopefully!

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux