From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IMo10-00045M-Qd for qemu-devel@nongnu.org; Sun, 19 Aug 2007 12:52:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IMo0y-00043l-NX for qemu-devel@nongnu.org; Sun, 19 Aug 2007 12:52:37 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IMo0y-00043a-J8 for qemu-devel@nongnu.org; Sun, 19 Aug 2007 12:52:36 -0400 Received: from wa-out-1112.google.com ([209.85.146.177]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IMo0y-0006Y6-Lw for qemu-devel@nongnu.org; Sun, 19 Aug 2007 12:52:36 -0400 Received: by wa-out-1112.google.com with SMTP id k22so584030waf for ; Sun, 19 Aug 2007 09:52:33 -0700 (PDT) Message-ID: <68676e00708190952g7d4751c2g87a6ff71dd278f71@mail.gmail.com> Date: Sun, 19 Aug 2007 18:52:33 +0200 From: Luca In-Reply-To: <20070818220252.GA19526@dreamland.darkstar.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070817231149.544849769@gmail.com> <1187450256.13580.1.camel@squirrel> <64F9B87B6B770947A9F8391472E032160D4645F0@ehost011-8.exch011.intermedia.net> <20070818220252.GA19526@dreamland.darkstar.lan> Subject: [Qemu-devel] Re: [kvm-devel] [PATCH 0/4] Rework alarm timer infrastrucure - take2 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kvm-devel@lists.sf.net Cc: qemu-devel@nongnu.org On 8/19/07, Luca Tettamanti wrote: > +static uint64_t qemu_next_deadline(void) { > + uint64_t nearest_delta_us = ULLONG_MAX; > + uint64_t vmdelta_us; Hum, I introduced a bug here... those vars should be signed. On the overhead introduced: how do you measure it? Luca