* [PATCH 02/05] ARM: mach-shmobile: Add CONFIG_FORCE_MAX_ZONEORDER
@ 2010-05-12 8:34 Magnus Damm
0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2010-05-12 8:34 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@opensource.se>
Allow SH-Mobile ARM to specify CONFIG_FORCE_MAX_ZONEORDER.
The Kconfig entry is taken from SH and non-4K page size
stuff has been trimmed away.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
arch/arm/mach-shmobile/Kconfig | 15 +++++++++++++++
1 file changed, 15 insertions(+)
--- 0001/arch/arm/mach-shmobile/Kconfig
+++ work/arch/arm/mach-shmobile/Kconfig 2010-05-12 15:21:55.000000000 +0900
@@ -69,6 +69,21 @@ config MEMORY_SIZE
be overridden as normal by the 'mem=' argument on the kernel command
line.
+config FORCE_MAX_ZONEORDER
+ int "Maximum zone order"
+ range 11 64
+ default "11"
+ help
+ The kernel memory allocator divides physically contiguous memory
+ blocks into "zones", where each zone is a power of two number of
+ pages. This option selects the largest power of two that the kernel
+ keeps in the memory allocator. If you need to allocate very large
+ blocks of physically contiguous memory, then you may need to
+ increase this value.
+
+ This config option is actually maximum order plus one. For example,
+ a value of 11 means that the largest free memory block is 2^10 pages.
+
endmenu
menu "Timer and clock configuration"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-12 8:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-12 8:34 [PATCH 02/05] ARM: mach-shmobile: Add CONFIG_FORCE_MAX_ZONEORDER Magnus Damm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).