From: Steven Rostedt <rostedt@goodmis.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
LKML <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Ingo Molnar <mingo@kernel.org>, "H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [GIT pull] locking fix for 4.9
Date: Wed, 12 Oct 2016 04:28:25 -0400 [thread overview]
Message-ID: <20161012042825.48b2618a@grimm.local.home> (raw)
In-Reply-To: <CA+55aFweGudVhDvw9-1=iuwJ9iD-gNYFnYN=VK2TFV_pKVvh9w@mail.gmail.com>
On Mon, 10 Oct 2016 10:29:27 -0700
Linus Torvalds <torvalds@linux-foundation.org> wrote:
> On Sat, Oct 8, 2016 at 5:47 AM, Thomas Gleixner <tglx@linutronix.de> wrote:
> >
> > A single fix which prevents newer GCCs from spamming the build output with
> > overly eager warnings about __builtin_return_address() uses which are
> > correct.
>
> Ugh. This feels over-engineered to me.
>
> We already disable that warning unconditionally for the trace
> subdirectory, and for mm/usercopy.c.
>
> I feel that the simpler solution is to just disable the warning
> globally, and not worry about "when this config option is enabled we
> need to disable it".
>
> Basically, we disable the warning every time we ever use
> __builtin_return_address(), so maybe we should just disable it once
> and for all.
The only advantage of doing this is to make it a pain to use
__builtin_return_address(n) with n > 0, so that we don't accidentally
use it without knowing what we are doing.
>
> It's not like the __builtin_return_address() warning is so incredibly
> useful anyway.
>
But I agree. We have lived a long time without the need for this
warning. I'm not strongly advocating keeping the warning around and
just disabling it totally. But it all comes down to how much we
trust those that inherit this after we are gone ;-)
/me is feeling his age.
-- Steve
next prev parent reply other threads:[~2016-10-12 8:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-08 12:47 Thomas Gleixner
2016-10-10 17:29 ` Linus Torvalds
2016-10-12 8:28 ` Steven Rostedt [this message]
2016-10-12 17:22 ` Linus Torvalds
2016-10-13 0:10 ` Steven Rostedt
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=20161012042825.48b2618a@grimm.local.home \
--to=rostedt@goodmis.org \
--cc=akpm@linux-foundation.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--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®