Re: [PATCH] arc/Kconfig: include mm/Kconfig inside "ARC system configuration"
From: Mike Rapoport
Date: Fri Jun 29 2018 - 15:33:51 EST
Hi Randy,
On Fri, Jun 29, 2018 at 09:34:55AM -0700, Randy Dunlap wrote:
> On 06/29/2018 06:42 AM, Mike Rapoport wrote:
> > Otherwise mm configuration options show up in the top level menu.
> >
> > Signed-off-by: Mike Rapoport <rppt@xxxxxxxxxxxxxxxxxx>
>
> Hi Mike,
>
> In which config tool does this matter?
>
> For xconfig, it seems to me that this patch hides the MM menu, whereas
> before this patch, the MM menu is easy to find (although it could
> use some kind of heading).
With xconfig the menu gets into the top right pane when you click on "ARC
architecture configuration", similar to what one gets on x86 with
"Processor type and features" or "Kernel features" on ARM.
With menuconfig it looks a bit more prominent, note that mm options are
between "ARC Architecture Configuration" and "Networking support":
.config - Linux/arc 4.18.0-rc2 Kernel Configuration
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
ââââââââââââââââ Linux/arc 4.18.0-rc2 Kernel Configuration ââââââââââââââââ
â Arrow keys navigate the menu. <Enter> selects submenus ---> (or empty â
â submenus ----). Highlighted letters are hotkeys. Pressing <Y> â
â includes, <N> excludes, <M> modularizes features. Press <Esc><Esc> to â
â exit, <?> for Help, </> for Search. Legend: [*] built-in [ ] â
â âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â
â â *** Compiler: arc-elf-gcc (GCC) 7.3.0 *** â â
â â General setup ---> â â
â â [*] Enable loadable module support ---> â â
â â [*] Enable the block layer ---> â â
â â ARC Architecture Configuration ---> â â
â â [ ] Allow for memory compaction â â
â â [*] Enable bounce buffers â â
â â [ ] Enable KSM for page merging â â
â â (4096) Low address space to protect from user allocation â â
â â [ ] Enable cleancache driver to cache clean pages if tmem is presâ â
â â [ ] Contiguous Memory Allocator â â
â â < > Common API for compressed memory storage â â
â â < > Low (Up to 2x) density storage for compressed pages â â
â â < > Memory allocator for compressed pages â â
â â [ ] Enable idle page tracking â â
â â [ ] Collect percpu memory statistics â â
â â [ ] Enable infrastructure for get_user_pages_fast() benchmarking â â
â â (11) Maximum zone order â â
â â [*] Networking support ---> â â
â â Device Drivers ---> â â
â â Bus Support ---> â â
â â File systems ---> â â
â â Kernel hacking ---> â â
â â Security options ---> â â
â â -*- Cryptographic API ---> â â
â â Library routines ---> â â
â â [ ] Device power management core functionality â â
â â â â
â âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â <Select> < Exit > < Help > < Save > < Load > â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
> > default "12" if ARC_HUGEPAGE_16M
> > default "11"
> >
> > +endmenu # "ARC Architecture Configuration"
> > +
> > source "net/Kconfig"
> > source "drivers/Kconfig"
> >
> >
>
>
> --
> ~Randy
>
--
Sincerely yours,
Mike.