mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jan Beulich" <JBeulich@suse.com>
To: "Ingo Molnar" <mingo@kernel.org>
Cc: "Borislav Petkov" <bp@alien8.de>,
	"Andy Lutomirski" <luto@amacapital.net>,
	"Peter Zijlstra" <a.p.zijlstra@chello.nl>, <mingo@elte.hu>,
	"Brian Gerst" <brgerst@gmail.com>, <fweisbec@gmail.com>,
	<tglx@linutronix.de>,
	"Linus Torvalds" <torvalds@linux-foundation.org>,
	"Denys Vlasenko" <dvlasenk@redhat.com>,
	"Josh Poimboeuf" <jpoimboe@redhat.com>,
	<linux-kernel@vger.kernel.org>, <hpa@zytor.com>
Subject: Re: [PATCH] x86/debug: Remove perpetually broken, unmaintainable dwarf annotations
Date: Thu, 28 May 2015 12:51:31 +0100	[thread overview]
Message-ID: <55671D63020000780007E885@mail.emea.novell.com> (raw)
In-Reply-To: <20150528112017.GA28196@gmail.com>

>>> On 28.05.15 at 13:20, <mingo@kernel.org> wrote:
> * Jan Beulich <JBeulich@suse.com> wrote:
>> Not sure why assembly code should look like C code. It's a matter of taste 
>> perhaps, and I can see your point, but I'm also not really eager to do 
> changes 
>> just to match other people's taste. And just like above - certainly not 
>> something for this patch I would think.
> 
> Yeah, no, so this isn't going to work that way.
> 
> On one hand you want dwarf annotations mostly for the out of tree 
> dwarf-unwinding 
> stack backtraces patch on SUSE kernels, while for the upstream kernel it's 
> mostly 
> just unreadable gunk in some of the most security sensitive code paths of 
> the 
> kernel, which only gets in the way of readability.
> 
> But on the other hand you are unwilling to (or don't have the time to) do a 
> proper 
> job of making this palatable for upstream.
> 
> That's unacceptable from the upstream kernel's POV, so instead of limping 
> forward 
> I'll do the attached patch: it gets rid of the unmaintainable dwarf mess 
> from low 
> level x86 assembly code. This isn't a new concern, a couple of years ago we 
> almost 
> did this.

I can understand your motivation, yet I still view it as rather sad that
you move this way. Indeed I don't have the time to do major rework
in this area, but I don't think you can blame me for not having tried to
at least investigate and eliminate breakage when I found such (which,
as you say, happens every now and then). Yet I do recall people
indicating that the unwind data can be useful for other than the
out-of-tree live stack unwinder. I.e. those will be broken along with
that code which we're _forced_ to maintain out-of-tree.

> and meanwhile you can keep a revert of this patch ported to SUSE kernels in 
> whatever fashion you prefer.

Funny suggestion - I don't think that's reasonable for us to do. Or if
we were to, we could as well invest in doing the re-work you're asking
for; I don't think anyone will have the time to do either.

Jan


  parent reply	other threads:[~2015-05-28 11:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-28  8:20 [PATCH] x86-64: fix unwind info for incomplete frames Jan Beulich
2015-05-28  9:01 ` Ingo Molnar
2015-05-28  9:45   ` Jan Beulich
2015-05-28 11:20     ` [PATCH] x86/debug: Remove perpetually broken, unmaintainable dwarf annotations Ingo Molnar
2015-05-28 11:39       ` [PATCH v2] " Ingo Molnar
2015-05-28 11:51       ` Jan Beulich [this message]
2015-05-28 13:17         ` [PATCH] " Ingo Molnar
2015-05-29 17:47           ` Andy Lutomirski
2015-05-29 20:27             ` Josh Poimboeuf
2015-05-29 21:39               ` Frank Ch. Eigler
2015-06-01 19:45             ` Josh Poimboeuf
2015-06-01 19:53               ` Andy Lutomirski
2015-06-01 20:19                 ` Josh Poimboeuf
2015-06-02  5:57                 ` Ingo Molnar
2015-06-02 14:46                   ` Josh Poimboeuf
2015-06-02 17:00                     ` Andy Lutomirski
2015-06-05 17:11             ` Andi Kleen

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=55671D63020000780007E885@mail.emea.novell.com \
    --to=jbeulich@suse.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=bp@alien8.de \
    --cc=brgerst@gmail.com \
    --cc=dvlasenk@redhat.com \
    --cc=fweisbec@gmail.com \
    --cc=hpa@zytor.com \
    --cc=jpoimboe@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@amacapital.net \
    --cc=mingo@elte.hu \
    --cc=mingo@kernel.org \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.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®