aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2015-11-02 09:51:02 -0500
committerMax Filippov <jcmvbkbc@gmail.com>2015-11-03 09:19:37 -0500
commita9df9338c1a32e7cdc8c6c6fa7c73f0a63a1ca56 (patch)
tree75d949020909e03886b31035931bb75e28d782ca /arch/xtensa
parent6c33dc33cefbd16b288f73024a10f438236a5124 (diff)
xtensa: add FORCE_MAX_ZONEORDER to Kconfig
Make maximal memory allocation order configurable, so that drivers could allocate huge buffers when they need to. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
index 3d35867c61f1..82044f732323 100644
--- a/arch/xtensa/Kconfig
+++ b/arch/xtensa/Kconfig
@@ -398,6 +398,20 @@ config SIMDISK1_FILENAME
398 398
399source "mm/Kconfig" 399source "mm/Kconfig"
400 400
401config FORCE_MAX_ZONEORDER
402 int "Maximum zone order"
403 default "11"
404 help
405 The kernel memory allocator divides physically contiguous memory
406 blocks into "zones", where each zone is a power of two number of
407 pages. This option selects the largest power of two that the kernel
408 keeps in the memory allocator. If you need to allocate very large
409 blocks of physically contiguous memory, then you may need to
410 increase this value.
411
412 This config option is actually maximum order plus one. For example,
413 a value of 11 means that the largest free memory block is 2^10 pages.
414
401source "drivers/pcmcia/Kconfig" 415source "drivers/pcmcia/Kconfig"
402 416
403source "drivers/pci/hotplug/Kconfig" 417source "drivers/pci/hotplug/Kconfig"