|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [patch] make evtchn_upcall_pending arch-specific type
On 1 Apr 2006, at 20:45, Jimi Xenidis wrote:
Well that is true. I'd still like to see how big the patch would be to hide accesses of the pending flag behind a macro, and how clean that would end up being. There maybe also be the issue of non-atomic updates of the mask flag, but that mostly only happens in xenlinux. IA64 and x86 can update distinct bytes separately and atomically, but I'm not sure if powerpc guarantees writes are atomic at byte granularity? That flag gets touched quite a lot when running xenlinux, so we wouldn't want to make the accesses anything other than ordinary writes on x86 and ia64. That's one of the benefits for us of currently defining the mask flag in a separate uint8_t. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |