[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.