Re: [patch] generic-ipi: fix the smp_mb() placement

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Suresh Siddha
Date: Thursday, October 30, 2008 - 9:30 am

On Thu, Oct 30, 2008 at 12:20:30AM -0700, Jens Axboe wrote:

No. We want the ipi receiver to see the new consistent data rather than possible
old consistent data.

And on x86, smp_wmb() is a simple barrier() (in !CONFIG_X86_OOSTORE) and
which doesn't do much in this case.

on x86 mfence (smp_mb()) will ensure that msr based APIC (x2apic) accesses (ipi)
will be visible only after the memory operations before smp_mb() are made
visible.

thanks,
suresh
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch] generic-ipi: fix the smp_mb() placement, Suresh Siddha, (Wed Oct 29, 3:42 pm)
Re: [patch] generic-ipi: fix the smp_mb() placement, Jens Axboe, (Thu Oct 30, 12:20 am)
Re: [patch] generic-ipi: fix the smp_mb() placement, Suresh Siddha, (Thu Oct 30, 9:30 am)
Re: [patch] generic-ipi: fix the smp_mb() placement, Jens Axboe, (Thu Oct 30, 10:25 am)
Re: [patch] generic-ipi: fix the smp_mb() placement, Ingo Molnar, (Thu Oct 30, 11:53 am)
Re: [patch] generic-ipi: fix the smp_mb() placement, Suresh Siddha, (Thu Oct 30, 1:23 pm)
Re: [patch] generic-ipi: fix the smp_mb() placement, Jeremy Fitzhardinge, (Thu Oct 30, 10:10 pm)
Re: [patch] generic-ipi: fix the smp_mb() placement, Ingo Molnar, (Fri Oct 31, 2:39 am)
Re: [patch] generic-ipi: fix the smp_mb() placement, Jeremy Fitzhardinge, (Fri Oct 31, 4:12 am)
Re: [patch] generic-ipi: fix the smp_mb() placement, Suresh Siddha, (Fri Oct 31, 9:53 am)
Re: [patch] generic-ipi: fix the smp_mb() placement, Jeremy Fitzhardinge, (Fri Oct 31, 1:30 pm)
Re: [patch] generic-ipi: fix the smp_mb() placement, Ingo Molnar, (Mon Nov 3, 3:17 am)
Re: [patch] generic-ipi: fix the smp_mb() placement, Jeremy Fitzhardinge, (Mon Nov 3, 4:48 pm)
Re: [patch] generic-ipi: fix the smp_mb() placement, Ingo Molnar, (Tue Nov 4, 2:19 am)
Re: [patch] generic-ipi: fix the smp_mb() placement, Suresh Siddha, (Tue Nov 4, 3:25 pm)
Re: [patch] generic-ipi: fix the smp_mb() placement, Jens Axboe, (Wed Nov 5, 2:20 am)