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

Re: [Xen-devel] RFC: 32 bits as smallest atomic size.




On Sun, 27 Mar 2005, Keir Fraser wrote:

> Already the field offset comments are broken in a few places in unstable, so
> perhaps this is a better way to go.

it's an idea.  A few years ago I wrote drivers for SCI and had a mixed 
linux/alpha freebsd/pentium cluster. It's a little tricky to get everyone 
happily addressing each other's memories across that boundary, but I did 
it by making all struct fields unsigned long long and letting the 
compilers do the right thing. I didn't use a single __attribute__ 
directive, but at the same time, these fairly different machines with 
different OSes had shared memory. I still don't see why xen can not do the 
same.

ron


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.