vnc mouse trouble; -usbdevice tablet no help

2010-02-07 Thread Ross Boylan
I have been unable to get the real mouse and the virtualized mouse to stay together when using kvm with linux host, guest and client. Previous advice (to me and others) was to use -usbdevice tablet. I've tried that, and a variety of kvm/qemu versions, but no luck. Can anyone suggest what to do, o

Re: [PATCH] qemu-kvm: Speed up of the dirty-bitmap-traveling

2010-02-07 Thread OHMURA Kei
> Sounds logical - do you have numbers on the improvement? Sure. The patch showed approximately 3-7 times speed up when measured with rdtsc. The test environment and detailed results are described below. --- tmp = rdtsc(); /* function of original code*/ t1 += rdtsc() - tmp; tmp = rdtsc();

Re: [PATCH] KVM: tests_base.cfg: major guest OS cleanup

2010-02-07 Thread Lucas Meneghel Rodrigues
On Sun, 2010-02-07 at 22:44 -0200, Marcelo Tosatti wrote: > On Sun, Feb 07, 2010 at 09:26:21PM -0200, Lucas Meneghel Rodrigues wrote: > > * Removing older versions of distributions like Fedora have good reason: > > The support cycle of them is very short (18 months), by their very > > nature (Fedo

Re: [PATCH 1/1 net-next] virtio_net: remove send queue

2010-02-07 Thread Rusty Russell
On Wed, 3 Feb 2010 08:18:51 am Shirley Ma wrote: > Use detach buffers API in virtio to free unused buffers in send queue when > shutting down > virtio_net to avoid maintaining skb link list for each transmit packet. > > Signed-off-by: Shirley Ma Hi Shirley, Nice cleanup. Please cc: net...@

Re: [PATCH] KVM test: Ensure multiple pre/post commands can run

2010-02-07 Thread Lucas Meneghel Rodrigues
On Sun, 2010-02-07 at 12:59 -0500, Michael Goldish wrote: > - "Lucas Meneghel Rodrigues" wrote: > > > The way tests are currently defined, running unattended > > install + hugepages will allways skip unattended install > > setup step (coincidentally the tests on our test farm > > were working

Re: [PATCH] KVM: tests_base.cfg: major guest OS cleanup

2010-02-07 Thread Marcelo Tosatti
On Sun, Feb 07, 2010 at 09:26:21PM -0200, Lucas Meneghel Rodrigues wrote: > On Sun, 2010-02-07 at 13:24 -0500, Michael Goldish wrote: > > Let me explain the reasoning behind this: > > > Looks like you dropped all step file tests, and I don't think > > this is a good idea. Keeping them is harmles

Re: [PATCH] KVM: tests_base.cfg: major guest OS cleanup

2010-02-07 Thread Lucas Meneghel Rodrigues
On Sun, 2010-02-07 at 13:24 -0500, Michael Goldish wrote: Let me explain the reasoning behind this: > Looks like you dropped all step file tests, and I don't think > this is a good idea. Keeping them is harmless, so I don't think > they should be dropped unless they're completely useless. > If y

Re: [PATCH 03/18] KVM: PPC: Teach MMIO Signedness

2010-02-07 Thread Anthony Liguori
On 02/07/2010 03:35 PM, Alexander Graf wrote: It's technically implementation dependent but I don't know of an implementation that doesn't sign extend. Hrm, would gpr = (s64)(s32)gpr; work? :) Yes. Integer promotion does guarantee sign extension. Regards, Anthony Liguori Alex -- To

Re: [PATCH 00/18] KVM: PPC: Virtualize Gekko guests

2010-02-07 Thread Alexander Graf
Avi Kivity wrote: > On 02/07/2010 05:49 PM, Alexander Graf wrote: >> Am 07.02.2010 um 13:54 schrieb Avi Kivity : >> >>> On 02/04/2010 05:55 PM, Alexander Graf wrote: In an effort to get KVM on PPC more useful for other userspace users than Qemu, I figured it'd be a nice idea to imple

Re: [PATCH 03/18] KVM: PPC: Teach MMIO Signedness

2010-02-07 Thread Alexander Graf
Am 07.02.2010 um 17:27 schrieb Anthony Liguori : On 02/07/2010 06:32 AM, Avi Kivity wrote: On 02/04/2010 05:55 PM, Alexander Graf wrote: The guest I was trying to get to run uses the LHA and LHAU instructions. Those instructions basically do a load, but also sign extend the result. Since

Re: [PATCH] emulate accessed bit for EPT

2010-02-07 Thread Marcelo Tosatti
On Fri, Feb 05, 2010 at 07:14:13PM +0100, Andrea Arcangeli wrote: > On Fri, Feb 05, 2010 at 03:34:23PM -0200, Marcelo Tosatti wrote: > > But perhaps a module parameter to turn accessed bit emulation off might > > be handy in the future? > > Maybe, but somebody should show that this can overall bec

Re: [PATCH 06/11] kvm: Change kvm_iommu_map_pages to map large pages

2010-02-07 Thread Marcelo Tosatti
On Sun, Feb 07, 2010 at 02:18:19PM +0200, Avi Kivity wrote: > On 01/29/2010 12:24 AM, Marcelo Tosatti wrote: > >On Thu, Jan 28, 2010 at 12:37:57PM +0100, Joerg Roedel wrote: > >>This patch changes the implementation of of > >>kvm_iommu_map_pages to map the pages with the host page size > >>into the

Re: [PATCH] KVM: tests_base.cfg: major guest OS cleanup

2010-02-07 Thread Michael Goldish
- "Lucas Meneghel Rodrigues" wrote: > Major update and cleanup on guest OS definition: > > * Fedora 8, 9, 10 dropped > * RHEL versions bumped to the latest stable versions > * Windows 2008, Vista and 7 bumped to the last versions > * Some duplicate information re-organized Looks like y

Re: [PATCH] KVM test: Ensure multiple pre/post commands can run

2010-02-07 Thread Michael Goldish
- "Lucas Meneghel Rodrigues" wrote: > The way tests are currently defined, running unattended > install + hugepages will allways skip unattended install > setup step (coincidentally the tests on our test farm > were working because previous executions of the unattended > install script ran,

Re: [PATCH 03/18] KVM: PPC: Teach MMIO Signedness

2010-02-07 Thread Anthony Liguori
On 02/07/2010 06:32 AM, Avi Kivity wrote: On 02/04/2010 05:55 PM, Alexander Graf wrote: The guest I was trying to get to run uses the LHA and LHAU instructions. Those instructions basically do a load, but also sign extend the result. Since we need to fill our registers by hand when doing MMIO,

Re: [Qemu-devel] [PATCH] Add assignment operation to config file parser..

2010-02-07 Thread Anthony Liguori
On 02/06/2010 12:59 PM, john cooper wrote: This patch reworks support for both assignment and append in the config file parser. It was motivated by comments received on the cpu model config file format. Commit dc9ca4ba27be4fe6a0284061b8f056c4364fb0d9 changed the behavior of "=" from assign to a

Re: [PATCH 00/18] KVM: PPC: Virtualize Gekko guests

2010-02-07 Thread Avi Kivity
On 02/07/2010 05:49 PM, Alexander Graf wrote: Am 07.02.2010 um 13:54 schrieb Avi Kivity : On 02/04/2010 05:55 PM, Alexander Graf wrote: In an effort to get KVM on PPC more useful for other userspace users than Qemu, I figured it'd be a nice idea to implement virtualization of the Gekko CPU.

Re: [PATCH 18/18] KVM: PPC: Implement Paired Single emulation

2010-02-07 Thread Avi Kivity
On 02/07/2010 05:57 PM, Alexander Graf wrote:+ +dprintk(KERN_INFO "FPU Emulator 0x%x ( 0x%llx, 0x%llx, 0x%llx )", inst, +inout[1], inout[2], inout[3]); + +call_stack =&kvmppc_call_stack[(smp_processor_id() * 2)]; +call_stack[0] = inst; +/* call_stack[1] is INS_BLR

Re: [PATCH 03/18] KVM: PPC: Teach MMIO Signedness

2010-02-07 Thread Avi Kivity
On 02/07/2010 05:51 PM, Alexander Graf wrote: +if (vcpu->arch.mmio_sign_extend) { +switch (run->mmio.len) { +#ifdef CONFIG_PPC64 +case 4: +if (gpr& 0x8000) +gpr |= 0xULL; +break; Wouldn't gpr = (s64)(gpr << 32)

Re: [PATCH 18/18] KVM: PPC: Implement Paired Single emulation

2010-02-07 Thread Alexander Graf
Am 07.02.2010 um 13:50 schrieb Avi Kivity : On 02/04/2010 05:55 PM, Alexander Graf wrote: The one big thing about the Gekko is paired singles. Paired singles are an extension to the instruction set, that adds 32 single precision floating point registers (qprs), some SPRs to modify the beh

Re: [PATCH 02/18] KVM: PPC: Enable MMIO to do 64 bits, fprs and qprs

2010-02-07 Thread Alexander Graf
Am 07.02.2010 um 13:29 schrieb Avi Kivity : On 02/04/2010 05:55 PM, Alexander Graf wrote: Right now MMIO access can only happen for GPRs and is at most 32 bit wide. That's actually enough for almost all types of hardware out there. Unfortunately, the guest I was using used FPU writes to MMI

Re: [PATCH 03/18] KVM: PPC: Teach MMIO Signedness

2010-02-07 Thread Alexander Graf
Am 07.02.2010 um 13:32 schrieb Avi Kivity : On 02/04/2010 05:55 PM, Alexander Graf wrote: The guest I was trying to get to run uses the LHA and LHAU instructions. Those instructions basically do a load, but also sign extend the result. Since we need to fill our registers by hand when doin

Re: [PATCH 00/18] KVM: PPC: Virtualize Gekko guests

2010-02-07 Thread Alexander Graf
Am 07.02.2010 um 13:54 schrieb Avi Kivity : On 02/04/2010 05:55 PM, Alexander Graf wrote: In an effort to get KVM on PPC more useful for other userspace users than Qemu, I figured it'd be a nice idea to implement virtualization of the Gekko CPU. The Gekko is the CPU used in the GameCube. I

Re: [PATCH v2 14/21] qemu-kvm: Rework VCPU state writeback API

2010-02-07 Thread Avi Kivity
On 02/07/2010 04:26 PM, Jan Kiszka wrote: Well, to me it makes more sense to name them from the point of view of the vcpu that is doing the update. I'm open for a better name - except for "sync" as writebacks are always synchronous from the POV of the modified VCPU. I meant that the st

Re: [PATCH v2 14/21] qemu-kvm: Rework VCPU state writeback API

2010-02-07 Thread Jan Kiszka
Avi Kivity wrote: > On 02/07/2010 03:51 PM, Jan Kiszka wrote: >> Avi Kivity wrote: >> >>> On 02/03/2010 10:53 AM, Jan Kiszka wrote: >>> This grand cleanup drops all reset and vmsave/load related synchronization points in favor of four(!) generic hooks: - cpu_synchronize_

Re: [PATCH 05/11] kvm: Introduce kvm_host_page_size

2010-02-07 Thread Joerg Roedel
On Sun, Feb 07, 2010 at 02:09:36PM +0200, Avi Kivity wrote: > On 01/28/2010 01:37 PM, Joerg Roedel wrote: >> This patch introduces a generic function to find out the >> host page size for a given gfn. This function is needed by >> the kvm iommu code. This patch also simplifies the x86 >> host_mappi

Re: [PATCH v2 14/21] qemu-kvm: Rework VCPU state writeback API

2010-02-07 Thread Avi Kivity
On 02/07/2010 03:51 PM, Jan Kiszka wrote: Avi Kivity wrote: On 02/03/2010 10:53 AM, Jan Kiszka wrote: This grand cleanup drops all reset and vmsave/load related synchronization points in favor of four(!) generic hooks: - cpu_synchronize_all_states in qemu_savevm_state_complete (i

Re: [PATCH v2 01/21] qemu-kvm: Drop vmport changes

2010-02-07 Thread Jan Kiszka
Avi Kivity wrote: > On 02/03/2010 10:53 AM, Jan Kiszka wrote: >> This attempt to make vmport KVM compatible is half-broken and is >> scheduled to be replaced by proper upstream support. >> > > Does "scheduled" mean you have patches for adding > cpu_synchronize_state() to vmport? See patch 2 i

Re: [PATCH v2 14/21] qemu-kvm: Rework VCPU state writeback API

2010-02-07 Thread Jan Kiszka
Avi Kivity wrote: > On 02/03/2010 10:53 AM, Jan Kiszka wrote: >> This grand cleanup drops all reset and vmsave/load related >> synchronization points in favor of four(!) generic hooks: >> >> - cpu_synchronize_all_states in qemu_savevm_state_complete >>(initial sync from kernel before vmsave) >>

Re: [PATCH v2 14/21] qemu-kvm: Rework VCPU state writeback API

2010-02-07 Thread Avi Kivity
On 02/03/2010 10:53 AM, Jan Kiszka wrote: This grand cleanup drops all reset and vmsave/load related synchronization points in favor of four(!) generic hooks: - cpu_synchronize_all_states in qemu_savevm_state_complete (initial sync from kernel before vmsave) - cpu_synchronize_all_post_init in

Re: [PATCH 7/8] KVM: Optimize kvm_read_cr[04]_bits()

2010-02-07 Thread Jan Kiszka
Avi Kivity wrote: > On 02/07/2010 02:33 PM, Jan Kiszka wrote: >> Avi Kivity wrote: >> >>> On 02/05/2010 10:26 AM, Jan Kiszka wrote: >>> Avi Kivity wrote: > 'mask' is always a constant, so we can check whether it includes a > bit that > might be owned by the

Re: [PATCH v2 01/21] qemu-kvm: Drop vmport changes

2010-02-07 Thread Avi Kivity
On 02/03/2010 10:53 AM, Jan Kiszka wrote: This attempt to make vmport KVM compatible is half-broken and is scheduled to be replaced by proper upstream support. Does "scheduled" mean you have patches for adding cpu_synchronize_state() to vmport? -- error compiling committee.c: too many ar

Re: [PATCH 00/18] KVM: PPC: Virtualize Gekko guests

2010-02-07 Thread Avi Kivity
On 02/04/2010 05:55 PM, Alexander Graf wrote: In an effort to get KVM on PPC more useful for other userspace users than Qemu, I figured it'd be a nice idea to implement virtualization of the Gekko CPU. The Gekko is the CPU used in the GameCube. In a slightly more modern fashion it lives on in th

Re: [PATCH 18/18] KVM: PPC: Implement Paired Single emulation

2010-02-07 Thread Avi Kivity
On 02/04/2010 05:55 PM, Alexander Graf wrote: The one big thing about the Gekko is paired singles. Paired singles are an extension to the instruction set, that adds 32 single precision floating point registers (qprs), some SPRs to modify the behavior of paired singled operations and instructions

Re: [PATCH 06/11] kvm: Change kvm_iommu_map_pages to map large pages

2010-02-07 Thread Joerg Roedel
On Sun, Feb 07, 2010 at 02:22:35PM +0200, Avi Kivity wrote: > On 02/05/2010 01:01 PM, Joerg Roedel wrote: >> >>> Yes, addresses the concern. >>> >> Are there any further objections against this patchset? If not it would >> be cool if you could give me some acks for the kvm specific parts of >

Re: [PATCH 7/8] KVM: Optimize kvm_read_cr[04]_bits()

2010-02-07 Thread Avi Kivity
On 02/07/2010 02:33 PM, Jan Kiszka wrote: Avi Kivity wrote: On 02/05/2010 10:26 AM, Jan Kiszka wrote: Avi Kivity wrote: 'mask' is always a constant, so we can check whether it includes a bit that might be owned by the guest very cheaply, and avoid the decache call. Saves a

Re: [PATCH 7/8] KVM: Optimize kvm_read_cr[04]_bits()

2010-02-07 Thread Jan Kiszka
Avi Kivity wrote: > On 02/05/2010 10:26 AM, Jan Kiszka wrote: >> Avi Kivity wrote: >> >>> 'mask' is always a constant, so we can check whether it includes a >>> bit that >>> might be owned by the guest very cheaply, and avoid the decache >>> call. Saves >>> a few hundred bytes of module text. >

Re: [PATCH 03/18] KVM: PPC: Teach MMIO Signedness

2010-02-07 Thread Avi Kivity
On 02/04/2010 05:55 PM, Alexander Graf wrote: The guest I was trying to get to run uses the LHA and LHAU instructions. Those instructions basically do a load, but also sign extend the result. Since we need to fill our registers by hand when doing MMIO, we also need to sign extend manually. This

Re: [PATCH 02/18] KVM: PPC: Enable MMIO to do 64 bits, fprs and qprs

2010-02-07 Thread Avi Kivity
On 02/04/2010 05:55 PM, Alexander Graf wrote: Right now MMIO access can only happen for GPRs and is at most 32 bit wide. That's actually enough for almost all types of hardware out there. Unfortunately, the guest I was using used FPU writes to MMIO regions, so it ended up writing 64 bit MMIOs us

Re: [PATCH 3/8] KVM: Activate fpu on clts

2010-02-07 Thread Avi Kivity
On 02/04/2010 07:56 PM, Avi Kivity wrote: vmx.c doesn't initialize kvm_x86_ops->fpu_activate as far as I see. Gaak. Well, that's obviously unintended. I committed a patch to fix this. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send th

Re: [PATCH 06/11] kvm: Change kvm_iommu_map_pages to map large pages

2010-02-07 Thread Avi Kivity
On 02/05/2010 01:01 PM, Joerg Roedel wrote: Yes, addresses the concern. Are there any further objections against this patchset? If not it would be cool if you could give me some acks for the kvm specific parts of this patchset. There are two ways we can get the kvm bits in: - you

Re: [PATCH 06/11] kvm: Change kvm_iommu_map_pages to map large pages

2010-02-07 Thread Avi Kivity
On 01/29/2010 12:24 AM, Marcelo Tosatti wrote: On Thu, Jan 28, 2010 at 12:37:57PM +0100, Joerg Roedel wrote: This patch changes the implementation of of kvm_iommu_map_pages to map the pages with the host page size into the io virtual address space. Signed-off-by: Joerg Roedel --- virt/kvm

Re: [PATCH 05/11] kvm: Introduce kvm_host_page_size

2010-02-07 Thread Avi Kivity
On 01/28/2010 01:37 PM, Joerg Roedel wrote: This patch introduces a generic function to find out the host page size for a given gfn. This function is needed by the kvm iommu code. This patch also simplifies the x86 host_mapping_level function. Applied to kvm.git since this makes sense indep

Re: [PATCH 7/8] KVM: Optimize kvm_read_cr[04]_bits()

2010-02-07 Thread Avi Kivity
On 02/05/2010 10:26 AM, Jan Kiszka wrote: Avi Kivity wrote: 'mask' is always a constant, so we can check whether it includes a bit that might be owned by the guest very cheaply, and avoid the decache call. Saves a few hundred bytes of module text. -no-kvm-irqchip -smp 2 is broken for

Re: KVM: VMX: update cr0 read shadow when deactivating cr0.ts passthrough

2010-02-07 Thread Avi Kivity
On 02/01/2010 06:48 PM, Marcelo Tosatti wrote: On fpu deactivation, the cr0 read shadow is not properly updated, since it assumes vcpu->arch.cr0 contains the guest visible cr0 value before guest had control of cr0.ts. This is not true, since cr0 has been decached (from vmx_fpu_deactivate itself

Re: [PATCH v2 00/21] qemu-kvm: Hook cleanups and extended use of upstream code

2010-02-07 Thread Gleb Natapov
On Sun, Feb 07, 2010 at 12:28:49PM +0100, Jan Kiszka wrote: > Gleb Natapov wrote: > > On Wed, Feb 03, 2010 at 09:53:25AM +0100, Jan Kiszka wrote: > >> This version addresses the feedback on v2, namely: > >> - assert( || thread>) on low-level > >> load/save registers > >> - fixed mpstate initializ

Re: [PATCH 4/11] arch/x86/kvm: Correct NULL test

2010-02-07 Thread Avi Kivity
On 02/06/2010 10:43 AM, Julia Lawall wrote: From: Julia Lawall msr was tested above, so the second test is not needed. Applied, thanks. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a messa

Re: [PATCH 01/10] arch/ia64: Fix continuation line formats

2010-02-07 Thread Avi Kivity
On 02/02/2010 09:22 AM, Joe Perches wrote: String constants that are continued on subsequent lines with \ are not good. Applied, thanks. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a messag

Re: [PATCH v2 00/21] qemu-kvm: Hook cleanups and extended use of upstream code

2010-02-07 Thread Jan Kiszka
Gleb Natapov wrote: > On Wed, Feb 03, 2010 at 09:53:25AM +0100, Jan Kiszka wrote: >> This version addresses the feedback on v2, namely: >> - assert( || thread>) on low-level >> load/save registers >> - fixed mpstate initialization >> > With those patched, doing "info cpus" in monitor kill the gue

Re: [PATCH 02/11] iommu-api: Add iommu_map and iommu_unmap functions

2010-02-07 Thread Avi Kivity
On 02/07/2010 12:50 PM, Joerg Roedel wrote: On Sun, Feb 07, 2010 at 11:38:30AM +0200, Avi Kivity wrote: On 01/28/2010 01:37 PM, Joerg Roedel wrote: These two functions provide support for mapping and unmapping physical addresses to io virtual addresses. The difference to the iommu_(un

Re: KVM problems with Xeon L5530

2010-02-07 Thread Avi Kivity
On 01/28/2010 01:02 PM, Matteo Ghezzi wrote: Upgraded to 2.6.33-rc5, same qemu-kvm version, same hardware. The Vnc screen is still black and the virtual machine, but now I don't have anymore messages in the logs but directly at standard output: KVM internal error. Suberror: 2 extra data[0]: 8000

Re: [PATCH 02/11] iommu-api: Add iommu_map and iommu_unmap functions

2010-02-07 Thread Joerg Roedel
On Sun, Feb 07, 2010 at 11:38:30AM +0200, Avi Kivity wrote: > On 01/28/2010 01:37 PM, Joerg Roedel wrote: >> These two functions provide support for mapping and >> unmapping physical addresses to io virtual addresses. The >> difference to the iommu_(un)map_range() is that the new >> functions take

Re: [PATCH] vhost-net: switch to smp barriers

2010-02-07 Thread Avi Kivity
On 02/07/2010 11:44 AM, Michael S. Tsirkin wrote: On Sun, Feb 07, 2010 at 11:42:29AM +0200, Avi Kivity wrote: On 02/01/2010 07:21 PM, Michael S. Tsirkin wrote: vhost-net only uses memory barriers to control SMP effects (communication with userspace potentially running on a different C

Re: [PATCH] vhost-net: switch to smp barriers

2010-02-07 Thread Michael S. Tsirkin
On Sun, Feb 07, 2010 at 11:42:29AM +0200, Avi Kivity wrote: > On 02/01/2010 07:21 PM, Michael S. Tsirkin wrote: >> vhost-net only uses memory barriers to control SMP effects >> (communication with userspace potentially running on a different CPU), >> so it should use SMP barriers and not mandatory

Re: [PATCH v2 00/21] qemu-kvm: Hook cleanups and extended use of upstream code

2010-02-07 Thread Gleb Natapov
On Wed, Feb 03, 2010 at 09:53:25AM +0100, Jan Kiszka wrote: > This version addresses the feedback on v2, namely: > - assert( || thread>) on low-level > load/save registers > - fixed mpstate initialization > With those patched, doing "info cpus" in monitor kill the guest, which, unfortunately, me

Re: [PATCH] vhost-net: switch to smp barriers

2010-02-07 Thread Avi Kivity
On 02/01/2010 07:21 PM, Michael S. Tsirkin wrote: vhost-net only uses memory barriers to control SMP effects (communication with userspace potentially running on a different CPU), so it should use SMP barriers and not mandatory barriers for memory access ordering, as suggested by Documentation/me

Re: [PATCH 02/11] iommu-api: Add iommu_map and iommu_unmap functions

2010-02-07 Thread Avi Kivity
On 01/28/2010 01:37 PM, Joerg Roedel wrote: These two functions provide support for mapping and unmapping physical addresses to io virtual addresses. The difference to the iommu_(un)map_range() is that the new functions take a gfp_order parameter instead of a size. This allows the IOMMU backend i

Re: [PATCH] vhost-net: switch to smp barriers

2010-02-07 Thread Michael S. Tsirkin
On Mon, Feb 01, 2010 at 07:21:02PM +0200, Michael S. Tsirkin wrote: > vhost-net only uses memory barriers to control SMP effects > (communication with userspace potentially running on a different CPU), > so it should use SMP barriers and not mandatory barriers for memory > access ordering, as sugge