Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1224755
| From | "Hillf Danton" <hillf.zj@alibaba-inc.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | RE: [PATCH] arm: Fix backtrace generation when IPI is masked |
| Date | 2015-09-15 10:30 +0200 |
| Message-ID | <q8TMK-7Ks-17@gated-at.bofh.it> (permalink) |
| References | <q8SGZ-6ef-11@gated-at.bofh.it> <q8SGZ-6ef-9@gated-at.bofh.it> <q8TD4-7zq-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> > 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
RE: [PATCH] arm: Fix backtrace generation when IPI is masked "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2015-09-15 09:20 +0200
Re: [PATCH] arm: Fix backtrace generation when IPI is masked Daniel Thompson <daniel.thompson@linaro.org> - 2015-09-15 10:20 +0200
RE: [PATCH] arm: Fix backtrace generation when IPI is masked "Hillf Danton" <hillf.zj@alibaba-inc.com> - 2015-09-15 10:30 +0200
csiph-web