All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: Kconfig: allow to change FORCE_MAX_ZONEORDER via custom config
@ 2020-03-12 23:50 ` Vadym Kochan
  0 siblings, 0 replies; 8+ messages in thread
From: Vadym Kochan @ 2020-03-12 23:50 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, linux-arm-kernel, linux-kernel; +Cc: Vadym Kochan

Add missing config option name which allows to change it via custom
config.

Signed-off-by: Vadym Kochan <vadym.kochan@plvision.eu>
---
 arch/arm64/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 0b30e884e088..d974f31c3c18 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -1120,7 +1120,7 @@ config XEN
 	  Say Y if you want to run Linux in a Virtual Machine on Xen on ARM64.
 
 config FORCE_MAX_ZONEORDER
-	int
+	int "Maximum zone order"
 	default "14" if (ARM64_64K_PAGES && TRANSPARENT_HUGEPAGE)
 	default "12" if (ARM64_16K_PAGES && TRANSPARENT_HUGEPAGE)
 	default "11"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH] arm64: Kconfig: allow to change FORCE_MAX_ZONEORDER via custom config
@ 2020-03-12 23:50 ` Vadym Kochan
  0 siblings, 0 replies; 8+ messages in thread
From: Vadym Kochan @ 2020-03-12 23:50 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, linux-arm-kernel, linux-kernel; +Cc: Vadym Kochan

Add missing config option name which allows to change it via custom
config.

Signed-off-by: Vadym Kochan <vadym.kochan@plvision.eu>
---
 arch/arm64/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 0b30e884e088..d974f31c3c18 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -1120,7 +1120,7 @@ config XEN
 	  Say Y if you want to run Linux in a Virtual Machine on Xen on ARM64.
 
 config FORCE_MAX_ZONEORDER
-	int
+	int "Maximum zone order"
 	default "14" if (ARM64_64K_PAGES && TRANSPARENT_HUGEPAGE)
 	default "12" if (ARM64_16K_PAGES && TRANSPARENT_HUGEPAGE)
 	default "11"
-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: [PATCH] arm64: Kconfig: allow to change FORCE_MAX_ZONEORDER via custom config
  2020-03-12 23:50 ` Vadym Kochan
@ 2020-03-13 12:37   ` Catalin Marinas
  -1 siblings, 0 replies; 8+ messages in thread
From: Catalin Marinas @ 2020-03-13 12:37 UTC (permalink / raw)
  To: Vadym Kochan; +Cc: Will Deacon, linux-arm-kernel, linux-kernel

On Fri, Mar 13, 2020 at 01:50:37AM +0200, Vadym Kochan wrote:
> Add missing config option name which allows to change it via custom
> config.

Why? What is your use-case?

-- 
Catalin

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] arm64: Kconfig: allow to change FORCE_MAX_ZONEORDER via custom config
@ 2020-03-13 12:37   ` Catalin Marinas
  0 siblings, 0 replies; 8+ messages in thread
From: Catalin Marinas @ 2020-03-13 12:37 UTC (permalink / raw)
  To: Vadym Kochan; +Cc: Will Deacon, linux-kernel, linux-arm-kernel

On Fri, Mar 13, 2020 at 01:50:37AM +0200, Vadym Kochan wrote:
> Add missing config option name which allows to change it via custom
> config.

Why? What is your use-case?

-- 
Catalin

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] arm64: Kconfig: allow to change FORCE_MAX_ZONEORDER via custom config
  2020-03-13 12:37   ` Catalin Marinas
@ 2020-03-13 12:45     ` Vadym Kochan
  -1 siblings, 0 replies; 8+ messages in thread
From: Vadym Kochan @ 2020-03-13 12:45 UTC (permalink / raw)
  To: Catalin Marinas; +Cc: Will Deacon, linux-arm-kernel, linux-kernel

On Fri, Mar 13, 2020 at 12:37:41PM +0000, Catalin Marinas wrote:
> On Fri, Mar 13, 2020 at 01:50:37AM +0200, Vadym Kochan wrote:
> > Add missing config option name which allows to change it via custom
> > config.
> 
> Why? What is your use-case?
> 
> -- 
> Catalin

I need to allocate buffers bigger than default ZONEORDER, so I tried to
increase it but it did not work because the config entry has no name.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] arm64: Kconfig: allow to change FORCE_MAX_ZONEORDER via custom config
@ 2020-03-13 12:45     ` Vadym Kochan
  0 siblings, 0 replies; 8+ messages in thread
From: Vadym Kochan @ 2020-03-13 12:45 UTC (permalink / raw)
  To: Catalin Marinas; +Cc: Will Deacon, linux-kernel, linux-arm-kernel

On Fri, Mar 13, 2020 at 12:37:41PM +0000, Catalin Marinas wrote:
> On Fri, Mar 13, 2020 at 01:50:37AM +0200, Vadym Kochan wrote:
> > Add missing config option name which allows to change it via custom
> > config.
> 
> Why? What is your use-case?
> 
> -- 
> Catalin

I need to allocate buffers bigger than default ZONEORDER, so I tried to
increase it but it did not work because the config entry has no name.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] arm64: Kconfig: allow to change FORCE_MAX_ZONEORDER via custom config
  2020-03-13 12:45     ` Vadym Kochan
@ 2020-03-16 17:42       ` Catalin Marinas
  -1 siblings, 0 replies; 8+ messages in thread
From: Catalin Marinas @ 2020-03-16 17:42 UTC (permalink / raw)
  To: Vadym Kochan; +Cc: Will Deacon, linux-arm-kernel, linux-kernel

On Fri, Mar 13, 2020 at 02:45:58PM +0200, Vadym Kochan wrote:
> On Fri, Mar 13, 2020 at 12:37:41PM +0000, Catalin Marinas wrote:
> > On Fri, Mar 13, 2020 at 01:50:37AM +0200, Vadym Kochan wrote:
> > > Add missing config option name which allows to change it via custom
> > > config.
> > 
> > Why? What is your use-case?
> 
> I need to allocate buffers bigger than default ZONEORDER, so I tried to
> increase it but it did not work because the config entry has no name.

I try not to make this selectable as we want a single kernel build to
work on all supported hardware. The current values are chosen to allow
huge pages. If you need bigger contiguous allocations, maybe something
like CMA would help.

-- 
Catalin

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] arm64: Kconfig: allow to change FORCE_MAX_ZONEORDER via custom config
@ 2020-03-16 17:42       ` Catalin Marinas
  0 siblings, 0 replies; 8+ messages in thread
From: Catalin Marinas @ 2020-03-16 17:42 UTC (permalink / raw)
  To: Vadym Kochan; +Cc: Will Deacon, linux-kernel, linux-arm-kernel

On Fri, Mar 13, 2020 at 02:45:58PM +0200, Vadym Kochan wrote:
> On Fri, Mar 13, 2020 at 12:37:41PM +0000, Catalin Marinas wrote:
> > On Fri, Mar 13, 2020 at 01:50:37AM +0200, Vadym Kochan wrote:
> > > Add missing config option name which allows to change it via custom
> > > config.
> > 
> > Why? What is your use-case?
> 
> I need to allocate buffers bigger than default ZONEORDER, so I tried to
> increase it but it did not work because the config entry has no name.

I try not to make this selectable as we want a single kernel build to
work on all supported hardware. The current values are chosen to allow
huge pages. If you need bigger contiguous allocations, maybe something
like CMA would help.

-- 
Catalin

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-03-16 17:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-12 23:50 [PATCH] arm64: Kconfig: allow to change FORCE_MAX_ZONEORDER via custom config Vadym Kochan
2020-03-12 23:50 ` Vadym Kochan
2020-03-13 12:37 ` Catalin Marinas
2020-03-13 12:37   ` Catalin Marinas
2020-03-13 12:45   ` Vadym Kochan
2020-03-13 12:45     ` Vadym Kochan
2020-03-16 17:42     ` Catalin Marinas
2020-03-16 17:42       ` Catalin Marinas

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.