From: Keir Fraser Subject: Re: redundancy with timer function of balloon driver Date: Wed, 06 Jun 2007 09:49:41 +0100 Message-ID: References: <2bd9ebfa0706060058h5b7feedfh2b088c9cc852527c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <2bd9ebfa0706060058h5b7feedfh2b088c9cc852527c@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: Tej Parkash , Xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 6/6/07 08:58, "Tej Parkash" 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