Current-Users archive

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

Re: Kernel panic in "subr_xcall.c"

On Mon, 19 Oct 2009 23:02:59 +0100, Matthias Scheler 
> 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

Alright, unless someone objects, I'll commit this small fix this afternoon.


Jean-Yves Migeon

Home | Main Index | Thread Index | Old Index