xen-devel
[Xen-devel] Re: [patch 2/8] Implement always-locked bit ops, for memory
To: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx> |
Subject: |
[Xen-devel] Re: [patch 2/8] Implement always-locked bit ops, for memory shared with an SMP hypervisor. |
From: |
Christoph Lameter <clameter@xxxxxxx> |
Date: |
Wed, 2 Aug 2006 18:06:45 -0700 (PDT) |
Cc: |
akpm@xxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx>, Ian Pratt <ian.pratt@xxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, Chris Wright <chrisw@xxxxxxxxxxxx>, virtualization@xxxxxxxxxxxxxx, Christian Limpach <Christian.Limpach@xxxxxxxxxxxx> |
Delivery-date: |
Thu, 03 Aug 2006 03:17:40 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<44D144EC.3000205@xxxxxxxx> |
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<20060803002510.634721860@xxxxxxxxxxxxx> <20060803002518.061401577@xxxxxxxxxxxxx> <Pine.LNX.4.64.0608021726540.25963@xxxxxxxxxxxxxxxxxxxxxxxxx> <44D144EC.3000205@xxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
On Wed, 2 Aug 2006, Jeremy Fitzhardinge wrote:
> > Would it not be simpler to always use the locked implementation on UP? At
> > least when the kernel is compiled with hypervisor support? This is going to
> > add yet another series of bit operations
>
> You mean make the standard bit-ops atomic on UP when compiling for
> CONFIG_PARAVIRT? We think its too much of a burden; there are only a few
> operations which must be locked in the hypervisor case, and bit ops are used
> everywhere. I'd like to get it to the point where there's no significant
> overhead in configuring for PARAVIRT, even if you run on native hardware.
Thats a good goal but what about the rest of us who have to maintain
additional forms of bit operations for all architectures. How much is this
burden? Are locked atomic bitops really that more expensive?
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [patch 0/8] Basic infrastructure patches for a paravirtualized kernel, Jeremy Fitzhardinge
- [Xen-devel] [patch 1/8] Remove locally-defined ldt structure in favour of standard type., Jeremy Fitzhardinge
- [Xen-devel] [patch 4/8] Replace sensitive instructions with macros., Jeremy Fitzhardinge
- [Xen-devel] [patch 2/8] Implement always-locked bit ops, for memory shared with an SMP hypervisor., Jeremy Fitzhardinge
- [Xen-devel] Re: [patch 2/8] Implement always-locked bit ops, for memory shared with an SMP hypervisor., Christoph Lameter
- [Xen-devel] Re: [patch 2/8] Implement always-locked bit ops, for memory shared with an SMP hypervisor., Jeremy Fitzhardinge
- [Xen-devel] Re: [patch 2/8] Implement always-locked bit ops, for memory shared with an SMP hypervisor.,
Christoph Lameter <=
- [Xen-devel] Re: [patch 2/8] Implement always-locked bit ops, for memory shared with an SMP hypervisor., Zachary Amsden
- [Xen-devel] Re: [patch 2/8] Implement always-locked bit ops, for memory shared with an SMP hypervisor., Christoph Lameter
- [Xen-devel] Re: [patch 2/8] Implement always-locked bit ops, for memory shared with an SMP hypervisor., Andi Kleen
- [Xen-devel] Re: [patch 2/8] Implement always-locked bit ops, for memory shared with an SMP hypervisor., Christoph Lameter
- [Xen-devel] Re: [patch 2/8] Implement always-locked bit ops, for memory shared with an SMP hypervisor., Andi Kleen
- [Xen-devel] Re: [patch 2/8] Implement always-locked bit ops, for memory shared with an SMP hypervisor., Andi Kleen
- [Xen-devel] Re: [patch 2/8] Implement always-locked bit ops, for memory shared with an SMP hypervisor., Christoph Lameter
- [Xen-devel] Re: [patch 2/8] Implement always-locked bit ops, for memory shared with an SMP hypervisor., Andi Kleen
- [Xen-devel] Re: [patch 2/8] Implement always-locked bit ops, for memory shared with an SMP hypervisor., Christoph Lameter
- [Xen-devel] Re: [patch 2/8] Implement always-locked bit ops, for memory shared with an SMP hypervisor., Andi Kleen
|
|
|