lkml.org 
[lkml]   [2006]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH for 2.6.19] Fix xtime losing ticks
Date
On Thursday 16 November 2006 17:52, Jiri Bohac wrote:
> xtime is not properly incremented when main timer ticks are lost.
> Whatever the number of ticks elapsed is, only one tick worth of time
> is added to xtime. This patch fixes that.

Normally it is supposed to be called as often as there are missing
ticks (e.g. see s390 implementation of noidletick). This is also
true for non no idle tick - the hardware is not supposed to lose
interrupts.

You would need to change at least the existing noidletick implementations
in tree too.

Anyways, i'm sure it could be improved, but in .20 with dyntick
everything will be different anyways. I don't think it makes sense
to change now.

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

\
 
 \ /
  Last update: 2006-11-16 18:01    [W:0.021 / U:3.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site