From: Andi Kleen <andi@firstfloor.org>
To: "Ani Sinha" <kernel@anirban.org>
Cc: linux-kernel@vger.kernel.org, torvalds@linux-foundation.org
Subject: Re: panic() logic
Date: Sat, 18 Oct 2008 09:56:22 +0200 [thread overview]
Message-ID: <87iqrqjpzt.fsf@basil.nowhere.org> (raw)
In-Reply-To: <13c67e2c0810171448o6858827ei1ccc9e0ddf487f8@mail.gmail.com> (Ani Sinha's message of "Fri, 17 Oct 2008 14:48:18 -0700")
"Ani Sinha" <kernel@anirban.org> writes:
> I noticed an issue with the panic() firing on a back core in SMP
> lately. We are mostly working on mips architectures but it might
> effect other archs as well. Therefore, I am putting forward my
> thoughts and comments to the whole linux community. In the following,
> by front core I mean core#0 and by back core I mean other cores.
Why exactly is the "front core" special?
> smp_send_stop basically marks all the other cores as 'down' and
> updates the cpu bitmap. One implication of this is that you can not do
> an IPI later on to other cores (smp_send_function() does a
> 'for_earch_online_cpu'). This makes sense since you should not be
> allowed to do anything on a down cpu. But what if a particular
> architecture had logic to do specific things for the front core and
> other things on the back cores as a part of 'graceful reboot' process?
Is that logic in Linux or in the platform?
Normally it's best to not rely on any specific CPU for panic.
What do you do when that CPU is so broken that it cannot
process IPIs anymore?
-Andi
--
ak@linux.intel.com
next prev parent reply other threads:[~2008-10-18 7:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-17 21:48 panic() logic Ani Sinha
2008-10-17 21:50 ` Ani Sinha
2008-10-18 7:56 ` Andi Kleen [this message]
2008-10-19 2:44 ` Anirban Sinha
2008-10-19 5:07 ` Anirban Sinha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87iqrqjpzt.fsf@basil.nowhere.org \
--to=andi@firstfloor.org \
--cc=kernel@anirban.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.