Messages in this thread | | | Date | Mon, 24 Mar 2014 10:39:52 -0400 | From | Steven Rostedt <> | Subject | Re: [RFC PATCH] tracing: Add BUG_ON when stack end location is over written |
| |
On Mon, 24 Mar 2014 14:03:57 +0000 Aaron Tomlin <atomlin@redhat.com> wrote:
> It is difficult to detect a stack overrun when it > actually occurs. > > We have observed that this type of corruption is often > silent and can go unnoticed. Once the corrupted region > is examined, the outcome is undefined and often > results in sporadic system crashes. > > When the stack tracing feature is enabled, let's check > for this condition and take appropriate action. > > Note: init_task doesn't get its stack end location > set to STACK_END_MAGIC. > > Signed-off-by: Aaron Tomlin <atomlin@redhat.com> > ---
I added this to my 3.15 queue, and if it survives testing, I'll push it to my for-next branch.
Thanks,
-- Steve
| |