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

[Xen-devel] redundancy with timer function of balloon driver

To: Xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] redundancy with timer function of balloon driver
From: "Tej Parkash" <tejparkash.d@xxxxxxxxx>
Date: Wed, 6 Jun 2007 13:28:35 +0530
Delivery-date: Wed, 06 Jun 2007 00:56:39 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=NpRDQOufUkzD6NGGh688Yvi12VuE2UILmdm41bCo2ImojHGOfBD6rrSrznJn/SZqjXygvCwXYtMGQe2XxHWHkDuOYoBE2km3Z8h4Ovmny/QbENNJbvrRnGNVwjMX0C3L3RxM0KNqWBQe9XLvIRX5o2Wco01npxPUmrT5Ej4cKKQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Je1rBObU+JFTh7ihpP7GvbWWeeXk7GG9I25OpFnv9yjRWq27oNDj+PTHQojO9CCWpddW3Fe/n74OTNtoRBnFVldUpNnsCC9r0Vedwi3+x7akQmwKlRC4AmRXPPAgbep3d5IjJMaY8KnRTjanqvaQdrfyIirYsI07cK8rxBe9CDo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
hi

Code involved in balloon driver for scanning of xenstore has been
implemented by polling with timer and event notification function.

timer written like this:

init_timer(&balloon_timer);
  balloon_timer.data = 0;
      balloon_timer.function = balloon_alarm;

and other function realted to timer in balloon driver is

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

so i am assumign that balloon driver works only with event notifiction
in xenstore and the timer code in balloon driver is redundant

please correct me

thanks
TEJ

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

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