tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Kernel panic in "subr_xcall.c"



On Mon, Oct 19, 2009 at 11:16:07PM +0200, Jean-Yves Migeon wrote:
> Manuel Bouyer wrote:
> >From memory, I think SPCF_RUNNING is set after all CPUs have been attached
> >even for the boot CPU.
> 
> Correct, the CPUs are attached before configure2() is called, so ncpu is 
> incremented before the schedstate flag is set. Any call inbetween may 
> result in a call to pmap_growkernel().
> 
> @tron: could you try with the attached patch please? Thanks!

Yes, your patch fixes the problem as well.

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index