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/
Home Products Support Community News


Re: [Xen-devel] periodic tasks in Xen

To: Diwaker Gupta <diwaker.lists@xxxxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] periodic tasks in Xen
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Mon, 12 Mar 2007 09:23:43 +0000
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 12 Mar 2007 02:23:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <891be9410703111350r1a92c122lfa9df1c359cbe089@xxxxxxxxxxxxxx>
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: AcdkiCCuXviQstB7EduXVgAX8io7RQ==
Thread-topic: [Xen-devel] periodic tasks in Xen
User-agent: Microsoft-Entourage/

On 11/3/07 20:50, "Diwaker Gupta" <diwaker.lists@xxxxxxxxx> wrote:

> Thanks Keir. One more question: it seems that the timer is invoked via
> softirq, which runs in the context of the domain which was executing
> when the IRQ was raied. Now my timer function sometimes pauses certain
> domains, and if it pauses the domain in whose context the IRQ was
> invoked, this causes problems. Is there a better way of doing this?

Don't pause the domain? If you want to pause domains you're probably wanting
hypervisor threads. They don't exist, yet. But they likely will in future
for potentially expensive operations like domain destruction, page
scrubbing, etc.

 -- Keir

Xen-devel mailing list

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