| To: | Jan Beulich <JBeulich@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [Xen-devel] [PATCH 7/7] introduce write-once optimization |
| From: | Keir Fraser <keir.fraser@xxxxxxxxxxxxx> |
| Date: | 2009年9月22日 09:27:02 +0100 |
| Cc: | |
| Delivery-date: | 2009年9月22日 01:27:55 -0700 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxxx |
| In-reply-to: | <4AB789C30200007800015F50@xxxxxxxxxxxxxxxxxx> |
| List-help: | <mailto:xen-devel-request@lists.xensource.com?subject=help> |
| List-id: | Xen developer discussion <xen-devel.lists.xensource.com> |
| List-post: | <mailto:xen-devel@lists.xensource.com> |
| List-subscribe: | <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
| Thread-index: | Aco6tTRQzPe2zawuQka0Qj0/PXMVOQAqUFSu |
| Thread-topic: | [Xen-devel] [PATCH 7/7] introduce write-once optimization |
| User-agent: | Microsoft-Entourage/12.20.0.090605 |
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
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [Xen-devel] Re: [PATCH] EPT: Flush running cpus, add mask to flush when scheduled in , Jan Beulich |
|---|---|
| Next by Date: | Re: [Xen-devel] Re: [PATCH] EPT: Flush running cpus, add mask to flush when scheduled in , Keir Fraser |
| Previous by Thread: | Re: [Xen-devel] [PATCH 7/7] introduce write-once optimization , Keir Fraser |
| Next by Thread: | Re: [Xen-devel] [PATCH 7/7] introduce write-once optimization , Jan Beulich |
| Indexes: | [Date] [Thread] [Top] [All Lists] |