From: "Hillf Danton" <hillf.zj@alibaba-inc.com>
To: "'Daniel Thompson'" <daniel.thompson@linaro.org>
Cc: "'linux-kernel'" <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>
Subject: RE: [PATCH] arm: Fix backtrace generation when IPI is masked
Date: Tue, 15 Sep 2015 16:20:30 +0800 [thread overview]
Message-ID: <018c01d0ef8f$62c8c130$285a4390$@alibaba-inc.com> (raw)
In-Reply-To: <55F7D291.5090509@linaro.org>
> > Better if dump_stack() is added in a separate patch, given that
> > it is not mentioned in commit message.
>
> Adding dump_stack() is mentioned in passing ("Some small changes to the
> generic code are required to support this.") but you're right that the
> reason for the change is not explicitly called out.
>
> I can certainly respin as two patches but perhaps its better just to
> improve the commit message. Something like:
>
> > This can be fixed by detecting that the calling context cannot be
> > preempted and issuing the backtrace directly in this case. Issuing
> > directly leaves us without any pt_regs to pass to nmi_cpu_backtrace().
> > Modify the generic code to call dump_stack() when its argument is
> > NULL.
>
Looks nice!
thanks
Hillf
next prev parent reply other threads:[~2015-09-15 8:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <016701d0ef82$c303d6a0$490b83e0$@alibaba-inc.com>
2015-09-15 6:58 ` Hillf Danton
2015-09-15 8:10 ` Daniel Thompson
2015-09-15 8:20 ` Hillf Danton [this message]
2015-09-14 9:18 Daniel Thompson
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='018c01d0ef8f$62c8c130$285a4390$@alibaba-inc.com' \
--to=hillf.zj@alibaba-inc.com \
--cc=daniel.thompson@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®