lkml.org 
[lkml]   [2005]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] i386 No-Idle-Hz aka Dynamic-Ticks 5
* Srivatsa Vaddagiri <vatsa@in.ibm.com> [050807 09:58]:
> On Sun, Aug 07, 2005 at 03:12:21PM +1000, Con Kolivas wrote:
> > Respin of the dynamic ticks patch for i386 by Tony Lindgen and Tuukka Tikkanen
> > with further code cleanups. Are were there yet?
>
> Con,
> I am afraid until SMP correctness is resolved, then this is not
> in a position to go in (unless you want to enable it only for UP, which
> I think should not be our target). I am working on making this work
> correctly on SMP systems. Hopefully I will post a patch soon.

Hopefully you get something worked out that works for all. Please see my
amd76x_pm related comments earlier too.

> Another observation I have made regarding dynamic tick patch is that PIT is
> being reprogrammed whenever the CPUs are coming out of sleep state (because of
> an interrupt say). This can happen at any arbitary time, not necessarily on
> jiffy boundaries. As a result, there will be an offset between when jiffy
> interrupts will now occur vs when they would have originally occured had PIT
> never been stopped. Not sure if having this offset is good, but atleast one
> necessary change that I foresee if zeroing delay_at_last_interrupt when
> disabling dynamic tick. For that matter, it may be easier to disable the PIT
> timer by just masking PIT interrupts (instead of changing its mode).

It should not matter when the PIT gets reprogrammed, as the system time is
not updated from PIT timer. Jiffies are calculated from a second timer, such
as ACPI PM timer or TSC.

Tony
-
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: 2005-08-08 09:42    [W:0.105 / U:1.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site