]> git.baikalelectronics.ru Git - kernel.git/commit
[IA64] ITC: Reduce rating for ITC clock if ITCs are drifty
authorChristoph Lameter <clameter@sgi.com>
Wed, 1 Aug 2007 20:49:45 +0000 (13:49 -0700)
committerTony Luck <tony.luck@intel.com>
Wed, 1 Aug 2007 21:02:36 +0000 (14:02 -0700)
commit5ef3a726cd6aefd21c7c394604df588f3f2f1330
treecd08e8af56d3d70c0b9b33255b3a44a7ce514a5e
parentd8be4ae81ab4c713c853c7180890c804c975b633
[IA64] ITC: Reduce rating for ITC clock if ITCs are drifty

Make sure to reduce the rating of the ITC clock if ITCs are drifty. If they
are drifting then we have not synchronized the ITC values, nor are we doing
the jitter compensation (useless since drift may increase the differentials
arbitrarily).

Without this patch it is possible that the ITC clock becomes selected as
the system clock on systems with drifty ITCs which will result in
nanosleep hanging.

One can still select the itc clock manually on such systems via

clocksource=itc

(Produces nice hangs on SGI Altix.)

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/time.c