Re: smp_rendezvous runs with interrupts and preemption enabled on unicore systems

2011-11-02 Thread John Baldwin
On Monday, October 31, 2011 7:43:03 pm Attilio Rao wrote: 2011/10/28 m...@freebsd.org: On Fri, Oct 28, 2011 at 8:37 AM, Ryan Stone ryst...@gmail.com wrote: I'm seeing issues on a unicore systems running a derivative of FreeBSD 8.2-RELEASE if something calls mem_range_attr_set. It turns

Re: smp_rendezvous runs with interrupts and preemption enabled on unicore systems

2011-11-01 Thread Ryan Stone
On Mon, Oct 31, 2011 at 7:43 PM, Attilio Rao atti...@freebsd.org wrote: I'm not entirely sure why this exactly breaks though (do you see that happening with a random rendezvous callback or it is always the same?), because that just becames a simple function calling on cpu0, even if I think

Re: smp_rendezvous runs with interrupts and preemption enabled on unicore systems

2011-10-31 Thread Attilio Rao
2011/10/28 m...@freebsd.org: On Fri, Oct 28, 2011 at 8:37 AM, Ryan Stone ryst...@gmail.com wrote: I'm seeing issues on a unicore systems running a derivative of FreeBSD 8.2-RELEASE if something calls mem_range_attr_set.  It turns out that the root cause is a bug in smp_rendezvous_cpus.  The

smp_rendezvous runs with interrupts and preemption enabled on unicore systems

2011-10-28 Thread Ryan Stone
I'm seeing issues on a unicore systems running a derivative of FreeBSD 8.2-RELEASE if something calls mem_range_attr_set. It turns out that the root cause is a bug in smp_rendezvous_cpus. The first part of smp_rendezvous_cpus attempts to short-circuit the non-SMP case(note that smp_started is

Re: smp_rendezvous runs with interrupts and preemption enabled on unicore systems

2011-10-28 Thread mdf
On Fri, Oct 28, 2011 at 8:37 AM, Ryan Stone ryst...@gmail.com wrote: I'm seeing issues on a unicore systems running a derivative of FreeBSD 8.2-RELEASE if something calls mem_range_attr_set.  It turns out that the root cause is a bug in smp_rendezvous_cpus.  The first part of