Re: [kvm-devel] [PATCH 03/04] kvm-s390: Improve pgste accesses

2008-04-04 Thread Avi Kivity
Carsten Otte wrote: > From: Heiko Carstens <[EMAIL PROTECTED]> > > There is no need to use interlocked updates when the rcp > lock is held. Therefore the simple bitops variants can be > used. This should improve performance. > > skey = page_get_storage_key(page_to_phys(page)); > if (skey & _PAGE_CH

Re: [kvm-devel] [PATCH 03/04] kvm-s390: Improve pgste accesses

2008-04-04 Thread Carsten Otte
[EMAIL PROTECTED] wrote: > Major formatting accident ? Ops! How did that happen? Thanks, will resend that patch. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just abo

Re: [kvm-devel] [PATCH 03/04] kvm-s390: Improve pgste accesses

2008-04-04 Thread Martin Schwidefsky
On Fri, 2008-04-04 at 15:12 +0200, Carsten Otte wrote: > Index: kvm/include/asm-s390/pgtable.h > === > --- kvm.orig/include/asm-s390/pgtable.h > +++ kvm/include/asm-s390/pgtable.h > @@ -553,12 +553,12 @@ static inline void ptep_rcp_cop

[kvm-devel] [PATCH 03/04] kvm-s390: Improve pgste accesses

2008-04-04 Thread Carsten Otte
From: Heiko Carstens <[EMAIL PROTECTED]> There is no need to use interlocked updates when the rcp lock is held. Therefore the simple bitops variants can be used. This should improve performance. Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]> Signed-off-by: Carsten Otte <[EMAIL PROTECTED]> ---