All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Josh Triplett <josh@joshtriplett.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>,
	mingo@redhat.com, hpa@zytor.com, linux-kernel@vger.kernel.org,
	sam@ravnborg.org, torvalds@linux-foundation.org,
	tglx@linutronix.de, linux-tip-commits@vger.kernel.org
Subject: Re: [tip:core/debug] debug: Make CONFIG_EXPERT select CONFIG_DEBUG_KERNEL to unhide debug options
Date: Tue, 7 Jun 2011 12:18:51 +0200	[thread overview]
Message-ID: <20110607101851.GA21356@elte.hu> (raw)
In-Reply-To: <20110606220905.GB1999@leaf>


* Josh Triplett <josh@joshtriplett.org> wrote:

> On Mon, Jun 06, 2011 at 11:45:04PM +0200, Frederic Weisbecker wrote:
> > On Mon, Jun 06, 2011 at 09:39:40PM +0000, tip-bot for Josh Triplett wrote:
> > > Commit-ID:  2458073da04571182748aa4289630dca52ba63cc
> > > Gitweb:     http://git.kernel.org/tip/2458073da04571182748aa4289630dca52ba63cc
> > > Author:     Josh Triplett <josh@joshtriplett.org>
> > > AuthorDate: Mon, 6 Jun 2011 09:51:30 -0700
> > > Committer:  Ingo Molnar <mingo@elte.hu>
> > > CommitDate: Mon, 6 Jun 2011 19:30:01 +0200
> > > 
> > > debug: Make CONFIG_EXPERT select CONFIG_DEBUG_KERNEL to unhide debug options
> > > 
> > > Several debugging options currently default to y, such as
> > > CONFIG_DEBUG_BUGVERBOSE and CONFIG_DEBUG_RODATA.
> > > 
> > > Embedded users might want to turn those options off to save space;
> > > however, turning them off requires turning on CONFIG_DEBUG_KERNEL to
> > > unhide them.  Since CONFIG_DEBUG_KERNEL exists specifically to
> > > unhide debugging options, and CONFIG_EXPERT exists specifically
> > > to unhide options potentially needed by experts and/or embedded
> > > users, make CONFIG_EXPERT automatically imply CONFIG_DEBUG_KERNEL.
> > > 
> > > Change various debugging options to only reference DEBUG_KERNEL,
> > > not EXPERT.
> > > 
> > > Note that DEBUG_MEMORY_INIT defaulted to !EXPERT, which seemed
> > > wrong, since EXPERT should not directly affect anything except
> > > the availability of other options.  (And EXPERT definitely
> > > shouldn't mean "implicitly turn off default safety features".)
> > > 
> > > Change it to default to y, which means that turning on EXPERT
> > > does not automatically disable it, but will provide the option
> > > to disable it.
> > > 
> > > Signed-off-by: Josh Triplett <josh@joshtriplett.org>
> > > Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
> > 
> > No, Nacked actually. I'm fine with the v2 that only changed
> > the EXPERT config to imply DEBUG_KERNEL. But all the other
> > changes here need to be revised, as I outlined in the thread.
> 
> Fixed in v4; please replace the patch in tip with that.

i applied the much simpler v2 twoliner version instead.

Thanks,

	Ingo

  reply	other threads:[~2011-06-07 10:19 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-05 21:02 [PATCH] Make CONFIG_EXPERT select CONFIG_DEBUG_KERNEL to unhide debug options Josh Triplett
2011-06-05 21:31 ` Frederic Weisbecker
2011-06-06  1:23   ` [PATCHv2] " Josh Triplett
2011-06-06 22:06     ` [tip:core/debug] debug: " tip-bot for Josh Triplett
2011-06-06 15:18 ` [PATCH] " Ingo Molnar
2011-06-06 16:51   ` [PATCHv3] " Josh Triplett
2011-06-06 18:16     ` Frederic Weisbecker
2011-06-06 18:39       ` Josh Triplett
2011-06-06 21:34         ` Frederic Weisbecker
2011-06-06 22:02           ` Ingo Molnar
2011-06-06 22:08         ` [PATCHv4] " Josh Triplett
2011-06-06 23:48           ` Frederic Weisbecker
2011-06-06 21:39     ` [tip:core/debug] debug: " tip-bot for Josh Triplett
2011-06-06 21:45       ` Frederic Weisbecker
2011-06-06 22:09         ` Josh Triplett
2011-06-07 10:18           ` Ingo Molnar [this message]
2011-06-07 15:34             ` Josh Triplett
2011-06-07 18:04               ` Ingo Molnar

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=20110607101851.GA21356@elte.hu \
    --to=mingo@elte.hu \
    --cc=fweisbec@gmail.com \
    --cc=hpa@zytor.com \
    --cc=josh@joshtriplett.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tip-commits@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=sam@ravnborg.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.