xen-devel
[Xen-devel] Re: [patch 2/8] Implement always-locked bit ops, for memory
To: |
Jeremy Fitzhardinge <jeremy@xxxxxxxxxxxxx> |
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 17:28:55 -0700 (PDT) |
Cc: |
akpm@xxxxxxxx, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, 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:16:13 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
In-reply-to: |
<20060803002518.061401577@xxxxxxxxxxxxx> |
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> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
On Wed, 2 Aug 2006, Jeremy Fitzhardinge wrote:
> Add "always lock'd" implementations of set_bit, clear_bit and
> change_bit and the corresponding test_and_ functions. Also add
> "always lock'd" implementation of cmpxchg. These give guaranteed
> strong synchronisation and are required for non-SMP kernels running on
> an SMP hypervisor.
I think I asked this before....
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.
_______________________________________________
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
|
|
|