xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: George Dunlap <george.dunlap@eu.citrix.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Tim Deegan <tim@xen.org>, Keir Fraser <keir@xen.org>,
	Jan Beulich <JBeulich@suse.com>,
	Xen-devel <xen-devel@lists.xen.org>
Subject: Re: [Patch v3 0/4] Xen stack trace printing improvements
Date: Tue, 19 Nov 2013 11:01:52 +0000	[thread overview]
Message-ID: <528B4520.1060905@eu.citrix.com> (raw)
In-Reply-To: <528B4268.3060403@citrix.com>

On 11/19/2013 10:50 AM, Andrew Cooper wrote:
> On 19/11/2013 10:10, George Dunlap wrote:
>> On Mon, Nov 18, 2013 at 7:34 PM, Andrew Cooper
>> <andrew.cooper3@citrix.com> wrote:
>>> This series consists of improvements to Xen's ability to print traces of its
>>> own stack, and specifically for the stack overflow case to be able to use
>>> frame pointers in a debug build.
>>>
>>> I have dev tested the series in debug and non-debug cases, with and without
>>> memory guards, and I believe that all the stack traces look correct (given the
>>> available information Xen has), and that the boundaries are now correct. This
>>> series has had a substantial rebase on top of the %pS series.
>>>
>>> George: Regarding the 4.4 code, I would like to argue this as a bugfix rather
>>> than feature, therefore being exempt from the freeze at the moment.
>> Well that argument is BS.  It's not a bug fix; it's clearly exactly
>> what the series summary describes it as -- an improvement.
>>
>> The questions you need to answer are:
>> * What are the benefits to 4.4 of accepting this patch?
>> * What are the risks in accepting this patch if it turned out to be
>> not quite correct?
>>
>> Re the benefits, I'm guessing the main one is to be able to use frame
>> pointers in an extra case, making the stack more readable on a crash.
>>
>> The risk, it seems to me, would be if there were other crashes that
>> might have garbled stacks that are no longer useful; or, more
>> importantly, that if someone was using a debug key to print out the
>> hypervisor stack, that, it might cause the whole host to crash.
>>
>> I'm kind of on the fence on this one -- Jan / Keir, any thoughts?
>>
>>   -George
>
> Benefits:
> * Use frame pointers in the stack overflow case
> * Correct boundaries for frame pointer traces
> * Wild function pointer semantics in the common case now
>
> Risks:
> * Issues with printing stack traces (although if you notice, I haven't
> actually changed either of the printing algorithms)
>
> This series seemed accepted-in-principle at v1 ages ago, pending me
> confirming the boundaries. (which have admittedly be tweaked in this
> latest series).

That makes more sense, thanks.  If Jan and/or Keir see it that way, then 
the series is fine with me f/ a release perspective.

  -George

  reply	other threads:[~2013-11-19 11:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-18 19:34 [Patch v3 0/4] Xen stack trace printing improvements Andrew Cooper
2013-11-18 19:34 ` [Patch v3 1/4] x86/stack: Refactor show_trace() Andrew Cooper
2013-11-20  9:43   ` Jan Beulich
2013-11-18 19:34 ` [Patch v3 2/4] x86/stack: Adjust boundary conditions for printed stacks Andrew Cooper
2013-11-20  9:49   ` Jan Beulich
2013-11-18 19:34 ` [Patch v3 3/4] x86/stack: Change show_stack_overflow() to use frame pointers if available Andrew Cooper
2013-11-20  9:51   ` Jan Beulich
2013-11-18 19:34 ` [Patch v3 4/4] DO NOT APPLY: Test code for interesting stack overflows Andrew Cooper
2013-11-19 10:10 ` [Patch v3 0/4] Xen stack trace printing improvements George Dunlap
2013-11-19 10:50   ` Andrew Cooper
2013-11-19 11:01     ` George Dunlap [this message]
2013-11-19 16:07       ` Keir Fraser
2013-11-19 16:10         ` Jan Beulich

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=528B4520.1060905@eu.citrix.com \
    --to=george.dunlap@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=keir@xen.org \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xen.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;
as well as URLs for NNTP newsgroup(s).