SMP support for XLR processors.
c.jayachandran at gmail.com
Tue Apr 20 09:52:55 UTC 2010
On Mon, Apr 19, 2010 at 7:27 PM, C. Jayachandran
<c.jayachandran at gmail.com> wrote:
> I have a possible cause for the panic with invariants - we should not
> schedule the msgring threads unless the smp is completely up. I guess
> we start getting message ring interrupts on before the message ring
> threads can be scheduled. I am trying out some changes for this -
> will send you a patch if this fixes it.
I've attached a patch that should fix the issue. The cause was the way
message ring threads are started on individual cores and the way
interrupts are enabled in the core. I've moved starting message ring
threads on other cpus to be a SYSINIT after SMP is started. I'd
thought originally that it was due to some clash with the changes in
HEAD - but looks like I was completely off-track there.
Please let me know if you don't get multi-user with 32 cpus with this
patch. There is still the original hang in buildworld, but that should
be a bug elsewhere
I have a copy at http://sites.google.com/site/cjayachandran/files too
More information about the freebsd-mips