|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] "lock cmpxch8b" and split locks
To: |
Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> |
Subject: |
Re: [Xen-devel] [PATCH] "lock cmpxch8b" and split locks |
From: |
Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> |
Date: |
Wed, 5 Oct 2005 23:02:31 +0100 |
Cc: |
"Koren, Bradley J" <Bradley.Koren@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, "Vessey, Bruce A" <Bruce.Vessey@xxxxxxxxxx>, "Puthiyaparambil, Aravindh" <aravindh.puthiyaparambil@xxxxxxxxxx>, "Subrahmanian, Raj" <raj.subrahmanian@xxxxxxxxxx> |
Delivery-date: |
Wed, 05 Oct 2005 22:07:57 +0000 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<72219e903d30a3ea587235798d1a1594@xxxxxxxxxxxx> |
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: |
<EF8D308BE33AF54D8934DF26520252D302C94F39@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <72219e903d30a3ea587235798d1a1594@xxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
On 5 Oct 2005, at 22:46, Keir Fraser wrote:
Does anyone know if there are other places where the "lock" prefix is
used with a cache misaligned address?
x86 systems are supposed to guarantee that LOCKed instructions access
their memory operand atomically, regardless of alignment (Vol 3 of the
Intel reference manual). Your systems break this application-visible
guarantee?
Also, the patch is way bigger and more invasive than it needs to be.
There should be no need to make pfn_info bigger than it is. It's
currently a multiple of 8 bytes (e.g., 24 bytes on 32-bit) which is
sufficient to avoid cache-line crossing of aligned 8-byte quantities.
What if we just move 'tlbflush_timestamp' to the end of the structure?
A one-line fix? :-)
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] "lock cmpxch8b" and split locks, Puthiyaparambil, Aravindh
- RE: [Xen-devel] [PATCH] "lock cmpxch8b" and split locks, Ian Pratt
- RE: [Xen-devel] [PATCH] "lock cmpxch8b" and split locks, Puthiyaparambil, Aravindh
- RE: [Xen-devel] [PATCH] "lock cmpxch8b" and split locks, Puthiyaparambil, Aravindh
- RE: [Xen-devel] [PATCH] "lock cmpxch8b" and split locks, Puthiyaparambil, Aravindh
- RE: [Xen-devel] [PATCH] "lock cmpxch8b" and split locks, Puthiyaparambil, Aravindh
- RE: [Xen-devel] [PATCH] "lock cmpxch8b" and split locks, Nakajima, Jun
- RE: [Xen-devel] [PATCH] "lock cmpxch8b" and split locks, Puthiyaparambil, Aravindh
|
|
|
|
|