lkml.org 
[lkml]   [2011]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] clocksource: Avoid selecting mult values that might overflow when adjusted
On Wed, 2 Nov 2011, John Stultz wrote:
>
> + WARN_ONCE(timekeeper.mult+adj >
> + timekeeper.clock->mult + timekeeper.clock->maxadj,
> + "Adjusting more then 11%%");

Shouldn't we rather limit the update instead of just warn and overflow ?

Thanks,

tglx


\
 
 \ /
  Last update: 2011-11-03 13:07    [W:0.167 / U:0.780 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site