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

Re: [Xen-devel] [PATCH 7/7] introduce write-once optimization



On 21/09/2009 13:12, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:

> This one is likely the most questionable part: Realizing that the
> compiler can do a much better job in terms of CSE when the variables
> needed are constant, this introduces and extension to the read-mostly
> variables, allowing variables to be marked as being written just
> during boot initialization.

How much of a win overall was this? The main concern comes from mixing the
two aliased variables within a single linkage unit, where it will be hard to
know how clever the compiler might be with inlining and inter-function
optimisations.

 -- Keir



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