[PATCH] Add call to non-crashing cores through IPI

Per Fransson per.fransson.ml at gmail.com
Mon Nov 22 17:14:21 EST 2010


>>
>> That's for the situation when the other core tries to send an IPI at
>> the same time. Unlikely but both cores may deadlock.
>>
>
> Am I right that deadlock can occur only if the same IPI was sent? And
> there should
> be no situation when CRASH_DUMP IPI was sent from different processors at
> the same time.
>

I hope you are right, but I can't see why we couldn't get a crash IPI
from several
processors at the same time, unfortunately.

Even if such a thing can happen however, the timeout in my original suggestion
(ignoring the interrupt enabling) should keep us from deadlocking indefinitely.

/Per

>> I actually had a patch to allow this which was really complicated and
>> it still failed in a real-world scenario which I could foresee.
>>
>> --
>> Catalin
>>
>> _______________________________________________
>> kexec mailing list
>> kexec at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/kexec
>>
>
>
>
> --
> Best regards,
> Maxim Uvarov
>



More information about the linux-arm-kernel mailing list