From: "Tej Parkash" Subject: redundancy with timer function of balloon driver Date: Wed, 6 Jun 2007 13:28:35 +0530 Message-ID: <2bd9ebfa0706060058h5b7feedfh2b088c9cc852527c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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