Thread (78 messages) 78 messages, 6 authors, 2010-06-29

Re: [PATCH 08/26] KVM: PPC: Add PV guest critical sections

From: Alexander Graf <hidden>
Date: 2010-06-27 12:05:34
Also in: kvm

Am 27.06.2010 um 13:53 schrieb Avi Kivity [off-list ref]:
On 06/27/2010 02:49 PM, Alexander Graf wrote:
quoted
Am 27.06.2010 um 12:59 schrieb Avi Kivity [off-list ref]:
quoted
On 06/27/2010 01:33 PM, Alexander Graf wrote:
quoted
quoted
Or inc/dec...

Uh - huh? How would that help?
inc shared->critical   # disable interrupts
There is no opcode in the ppc isa that acts on momery without  
involving a register.

An inc would be:

ld rX, A(0)
addi rX, rX, 1
std rX, A(0)
Right, I was agreeing with you.  I meant there was no inc/dec mem  
insns.
Ah, I see :). I think that's really the only point where I deem the  
x86 isa superior :).

Alex
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help