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

Re: [Xen-devel] ring.h notification hold-off question



On Sat, 2007-11-10 at 09:40 +0000, Keir Fraser wrote:
> i.e. _notify=false, which i believe skips a wanted notification.
> 
> No. req_event==0, new==1, old==UINT_MAX. Then new-req_event==1, new-old==2.
> Hence a notification will be sent.

unsigned. omygod. %}

> Case (c) you are also wrong because after the subtractions we cast to an
> unsigned integer. Hence in the case old<new<req_event, new-req_event will be
> a large +ve integer, not a small -ve one.

makes all sense then.

sorry and thanks for the patience.

regards,
daniel

-- 
Daniel Stodden
LRR     -      Lehrstuhl fÃr Rechnertechnik und Rechnerorganisation
Institut fÃr Informatik der TU MÃnchen             D-85748 Garching
http://www.lrr.in.tum.de/~stodden         mailto:stodden@xxxxxxxxxx
PGP Fingerprint: F5A4 1575 4C56 E26A 0B33  3D80 457E 82AE B0D8 735B



_______________________________________________
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®.