Re: [PATCH] clocksource: Avoid selecting mult values that mightoverflow when adjusted

From: Thomas Gleixner
Date: Thu Nov 03 2011 - 08:05:25 EST


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