Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1374076

Re: [RFC PATCH v1.9 07/14] x86/stacktrace: add function for detecting reliable stack traces

From Petr Mladek <pmladek@suse.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH v1.9 07/14] x86/stacktrace: add function for detecting reliable stack traces
Date 2016-04-08 10:30 +0200
Message-ID <rlzXI-XP-17@gated-at.bofh.it> (permalink)
References <rgFKp-6zA-3@gated-at.bofh.it> <rgFKr-6zA-59@gated-at.bofh.it> <rlgLo-3f5-1@gated-at.bofh.it> <rljpV-5mp-35@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu 2016-04-07 09:46:55, Josh Poimboeuf wrote:
> On Thu, Apr 07, 2016 at 01:55:52PM +0200, Petr Mladek wrote:
> > Well, I wonder if we should be more suspicious and make
> > sure that only the regular process stack is used.
> 
> Notice the save_stack_stack_reliable() function, which is called by
> dump_trace() when the task is running on an interrupt or exception
> stack.  It returns -EINVAL, so the stack gets marked unreliable.  Does
> that address your concern, or did you mean something else?

I see. It does what I wanted.

Thanks,
Petr

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [RFC PATCH v1.9 07/14] x86/stacktrace: add function for  detecting reliable stack traces Petr Mladek <pmladek@suse.com> - 2016-04-07 14:00 +0200
  Re: [RFC PATCH v1.9 07/14] x86/stacktrace: add function for  detecting reliable stack traces Josh Poimboeuf <jpoimboe@redhat.com> - 2016-04-07 16:50 +0200
    Re: [RFC PATCH v1.9 07/14] x86/stacktrace: add function for  detecting reliable stack traces Petr Mladek <pmladek@suse.com> - 2016-04-08 10:30 +0200

csiph-web