All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Bolle <pebolle@tiscali.nl>
To: Josh Triplett <josh@joshtriplett.org>,
	Andrea Arcangeli <aarcange@redhat.com>,
	Pavel Emelyanov <xemul@parallels.com>,
	Andrew Morton <akpm@linux-foundation.org>
Cc: Ingo Molnar <mingo@kernel.org>,
	"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>,
	Michal Hocko <mhocko@suse.cz>,
	Vladimir Davydov <vdavydov@parallels.com>,
	Johannes Weiner <hannes@cmpxchg.org>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Andy Lutomirski <luto@amacapital.net>,
	Bertrand Jacquin <beber@meleeweb.net>,
	"Luis R. Rodriguez" <mcgrof@suse.com>,
	Iulia Manda <iulia.manda21@gmail.com>,
	Pranith Kumar <bobby.prani@gmail.com>,
	Clark Williams <clark.williams@gmail.com>,
	Mel Gorman <mgorman@suse.de>,
	Randy Dunlap <rdunlap@infradead.org>,
	Michal Marek <mmarek@suse.cz>,
	linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/5] init/Kconfig: Split expert menu into a separate file, init/Kconfig.expert
Date: Thu, 28 May 2015 11:24:28 +0200	[thread overview]
Message-ID: <1432805068.8508.40.camel@x220> (raw)
In-Reply-To: <ed62348c630f41247468e45eb83063d606709cd4.1431589089.git.josh@joshtriplett.org>

On Thu, 2015-05-14 at 08:35 -0700, Josh Triplett wrote:
> The expert menu frequently gets broken by a config item in the middle
> that leaves off the "if EXPERT" from its prompt.  This results in the
> remainder of the menu spilling out into the parent "General setup" menu.
> Move the entire expert menu into a separate Kconfig file,
> init/Kconfig.expert, to make this harder to do accidentally, and to
> break up the exceedingly long init/Kconfig a bit.
> 
> Signed-off-by: Josh Triplett <josh@joshtriplett.org>

> --- a/init/Kconfig
> +++ b/init/Kconfig

> -config ADVISE_SYSCALLS
> -	bool "Enable madvise/fadvise syscalls" if EXPERT
> -	default y
> -	help
> -	  This option enables the madvise and fadvise syscalls, used by
> -	  applications to advise the kernel about their future memory or file
> -	  usage, improving performance. If building an embedded system where no
> -	  applications use these syscalls, you can disable this option to save
> -	  space.
> -

In the meantime commit d6c6ae9b71ad ("userfaultfd: buildsystem
activation") added config USERFAULTFD here in linux-next, pushing
PCI_QUIRKS out of the menu.

USERFAULTFD defaults to 'y'. Perhaps it was intended to make (its
prompt) visible only if EXPERT is set. Andrea, Pavel, Andrew?

> -config PCI_QUIRKS
> -	default y
> -	bool "Enable PCI quirk workarounds" if EXPERT
> -	depends on PCI
> -	help
> -	  This enables workarounds for various PCI chipset
> -	  bugs/quirks. Disable this only if your target machine is
> -	  unaffected by PCI quirks.

Anyhow, applied cleanly with d6c6ae9b71ad reverted.

I had to jump through some hoops to convince myself the patch really
only moves some lines around (except for the added source statement).
There's no git diff option that could have helped me here, is there?

I'm sure we'll figure out a way to handle config USERFAULTFD, so
    Acked-by: Paul Bolle <pebolle@tiscali.nl>

Thanks,


Paul Bolle


  reply	other threads:[~2015-05-28  9:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-14 15:35 [PATCH 1/5] init/Kconfig: Fix break in middle of EXPERT menu Josh Triplett
2015-05-14 15:35 ` [PATCH 2/5] init/Kconfig: Split expert menu into a separate file, init/Kconfig.expert Josh Triplett
2015-05-28  9:24   ` Paul Bolle [this message]
2015-05-14 15:35 ` [PATCH 3/5] kconfig: Regenerate parser with current Bison prior to making changes Josh Triplett
2015-05-28  9:34   ` Paul Bolle
2015-05-14 15:36 ` [PATCH 4/5] kconfig: Introduce "showif" to factor out conditions on visibility Josh Triplett
2015-05-20 10:00   ` Paul Bolle
2015-05-20 18:30     ` josh
2015-05-20 18:30       ` josh
2015-05-28 14:57       ` Paul Bolle
2015-05-28 18:28       ` Paul Bolle
2015-05-28 18:17   ` Paul Bolle
2015-05-28 18:23     ` Paul Bolle
2015-05-14 15:36 ` [PATCH 5/5] init/Kconfig.expert: Factor out "if EXPERT" conditions using showif Josh Triplett
2015-05-14 15:46 ` [PATCH 1/5] init/Kconfig: Fix break in middle of EXPERT menu josh
2015-05-28  8:41 ` Paul Bolle

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=1432805068.8508.40.camel@x220 \
    --to=pebolle@tiscali.nl \
    --cc=aarcange@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=beber@meleeweb.net \
    --cc=bobby.prani@gmail.com \
    --cc=clark.williams@gmail.com \
    --cc=geert@linux-m68k.org \
    --cc=hannes@cmpxchg.org \
    --cc=iulia.manda21@gmail.com \
    --cc=josh@joshtriplett.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@amacapital.net \
    --cc=mcgrof@suse.com \
    --cc=mgorman@suse.de \
    --cc=mhocko@suse.cz \
    --cc=mingo@kernel.org \
    --cc=mmarek@suse.cz \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=rdunlap@infradead.org \
    --cc=vdavydov@parallels.com \
    --cc=xemul@parallels.com \
    /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.