From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: periodic tasks in Xen Date: Mon, 12 Mar 2007 09:23:43 +0000 Message-ID: References: <891be9410703111350r1a92c122lfa9df1c359cbe089@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <891be9410703111350r1a92c122lfa9df1c359cbe089@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Diwaker Gupta , Keir Fraser Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 11/3/07 20:50, "Diwaker Gupta" 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