WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] ac_timer: time to say goodbye?

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] ac_timer: time to say goodbye?
From: "Magenheimer, Dan (HP Labs Fort Collins)" <dan.magenheimer@xxxxxx>
Date: Mon, 23 May 2005 14:14:27 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Delivery-date: Mon, 23 May 2005 21:17:46 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcVf2TTTjhqYF/oFRdiJrMAYCwr6SgAAk7tg
Thread-topic: [Xen-devel] ac_timer: time to say goodbye?
> We are going to strip out the periodic ticker entirely (at least in 
> arch/x86) and have just a programmable one-shot timer. We 
> need to keep 
> track of what is the nearest event we care about so we know what to 
> program into the one-shot timer.

Yes, this is exactly what Xen/ia64 does today.
 
> I think the interface could be simplified a little (fold 
> mod_ac_timer/add_ac_timer into a single function, for 
> example), but the 
> implementation is already very pared down. I image it would 
> hardly save 
> 100 lines, or bytes of hypervisor code, to replace the heap with a 
> list, for example.

With the periodic ticker gone, all that's really left for
ac_timer is a Xen scheduler interrupt (I think).

Is the Xen scheduler interrupt per-cpu or is there a "monarch"?
If the latter, the usage of ac_timer keeps a'dwindling.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>