[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180629205716.GG4799@rapoport-lnx>
Date: Fri, 29 Jun 2018 23:57:16 +0300
From: Mike Rapoport <rppt@...ux.vnet.ibm.com>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: Vineet Gupta <vgupta@...opsys.com>,
lkml <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] arc/Kconfig: include mm/Kconfig inside "ARC system
configuration"
On Fri, Jun 29, 2018 at 01:28:59PM -0700, Randy Dunlap wrote:
> On 06/29/2018 12:28 PM, Mike Rapoport wrote:
> > 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@...ux.vnet.ibm.com>
> >>
> >> 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":
>
> I know. I ran all 4 of menuconfig, nconfig, xconfig, and gconfig.
>
> I would prefer to see Memory Management options have its own top-level
> menu, but that's a different patch. Then menuconfig would look like this:
>
>
>
> │ │ *** Compiler: arc-linux-gcc (GCC) 8.1.0 *** │ │
> │ │ General setup ---> │ │
> │ │ [*] Enable loadable module support ---> │ │
> │ │ [*] Enable the block layer ---> │ │
> │ │ ARC Architecture Configuration ---> │ │
> │ │ Memory Management options ---> │ │
> │ │ (11) Maximum zone order │ │
> │ │ [*] Networking support ---> │ │
> │ │ Device Drivers ---> │ │
> │ │ Bus Support --->
>
>
> but that "Maximum zone order" needs to be moved or taken care of somehow.
I think that would be something like this:
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index e81bcd271be7..44a20141639a 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -556,12 +556,14 @@ endmenu
endmenu # "ARC Architecture Configuration"
+menu "Memory Management"
source "mm/Kconfig"
config FORCE_MAX_ZONEORDER
int "Maximum zone order"
default "12" if ARC_HUGEPAGE_16M
default "11"
+endmenu # "Memory Management"
source "net/Kconfig"
source "drivers/Kconfig"
>
> [snip]
>
> >
> >
> >
> >>> default "12" if ARC_HUGEPAGE_16M
> >>> default "11"
> >>>
> >>> +endmenu # "ARC Architecture Configuration"
> >>> +
> >>> source "net/Kconfig"
> >>> source "drivers/Kconfig"
>
>
> thanks,
> --
> ~Randy
>
--
Sincerely yours,
Mike.
Powered by blists - more mailing lists