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] redundancy with timer function of balloon driver

To: Tej Parkash <tejparkash.d@xxxxxxxxx>, <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] redundancy with timer function of balloon driver
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Wed, 06 Jun 2007 09:49:41 +0100
Delivery-date: Wed, 06 Jun 2007 01:47:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <2bd9ebfa0706060058h5b7feedfh2b088c9cc852527c@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: AceoF58U3dYBRhQKEdyEZAAX8io7RQ==
Thread-topic: [Xen-devel] redundancy with timer function of balloon driver
User-agent: Microsoft-Entourage/11.3.3.061214


On 6/6/07 08:58, "Tej Parkash" <tejparkash.d@xxxxxxxxx> wrote:

> mod_timer(&balloon_timer, jiffies + HZ);
> 
> but there is no routine i have seen which make the timer activate by adding
> 
> add_timer(&balloon_timer) in the balloon driver

mod_timer() activates the timer if it isn't already active.

 -- Keir


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

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