From: Daniel Stodden Subject: Re: ring.h notification hold-off question Date: Sat, 10 Nov 2007 18:16:27 +0100 Message-ID: <1194714987.9394.7.camel@thinkpad.localdomain> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Xen Developers List-Id: xen-devel@lists.xenproject.org On Sat, 2007-11-10 at 09:40 +0000, Keir Fraser wrote: > i.e. _notify=3Dfalse, which i believe skips a wanted notification. >=20 > No. req_event=3D=3D0, new=3D=3D1, old=3D=3DUINT_MAX. Then new-req_event= =3D=3D1, new-old=3D=3D2. > Hence a notification will be sent. unsigned. omygod. %} > Case (c) you are also wrong because after the subtractions we cast to a= n > unsigned integer. Hence in the case old a large +ve integer, not a small -ve one. makes all sense then. sorry and thanks for the patience. regards, daniel --=20 Daniel Stodden LRR - Lehrstuhl f=C3=BCr Rechnertechnik und Rechnerorganisation Institut f=C3=BCr Informatik der TU M=C3=BCnchen D-85748 Garc= hing http://www.lrr.in.tum.de/~stodden mailto:stodden@cs.tum.edu PGP Fingerprint: F5A4 1575 4C56 E26A 0B33 3D80 457E 82AE B0D8 735B