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

Re: [Xen-devel] [patch/unstable] page table cleanups



  Hi,

> I guess I'd prefer to have it be a scalar type because all the accessor
> macros actually do a pretty good job of obfusticating the code -- you
> see mk_( _val( X ) [logical op]) all over the place.

Yes, that is not so nice ...

> One way to fix this would be to have a better accessor macro for
> performing logical ops on the flags field of a pgentry.

I've already considered changing the accessor macros for performance
reasons.  With separate macros to read/write pfn and the flags it is
also possible to get away with 32 bit instead of 64 bit operations for
page flag checks and updates.

I think I'll go this route then ;)

  Gerd

-- 
#define printk(args...) fprintf(stderr, ## args)


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