diff options
author | Mark Brown <broonie@linaro.org> | 2014-05-24 14:04:44 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-24 14:04:44 +0100 |
commit | ea3518bfc02dff43d671a4f9e2799882689a0db4 (patch) | |
tree | 26bd6d5d6a0814fac6c146c473bf3108a53caa80 /mm | |
parent | 2036aef6cd62206f0092b4b8af8206201fc08c10 (diff) | |
parent | 6d08693da9e9512a6739c4a873c9f42d0c8d0f26 (diff) |
Merge remote-tracking branch 'lsk/v3.10/topic/arm64-dma' into lsk-v3.10-arm64-misc
Conflicts:
arch/arm64/Kconfig
arch/arm64/mm/dma-mapping.c
mm/Kconfig
Diffstat (limited to 'mm')
-rw-r--r-- | mm/Kconfig | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mm/Kconfig b/mm/Kconfig index 19b2bd2f6a61..b2d1aed56439 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -480,3 +480,27 @@ config FRONTSWAP config GENERIC_EARLY_IOREMAP bool + +config CMA + bool "Contiguous Memory Allocator" + depends on HAVE_MEMBLOCK + select MIGRATION + select MEMORY_ISOLATION + help + This enables the Contiguous Memory Allocator which allows other + subsystems to allocate big physically-contiguous blocks of memory. + CMA reserves a region of memory and allows only movable pages to + be allocated from it. This way, the kernel can use the memory for + pagecache and when a subsystem requests for contiguous area, the + allocated pages are migrated away to serve the contiguous request. + + If unsure, say "n". + +config CMA_DEBUG + bool "CMA debug messages (DEVELOPMENT)" + depends on DEBUG_KERNEL && CMA + help + Turns on debug messages in CMA. This produces KERN_DEBUG + messages for every CMA call as well as various messages while + processing calls such as dma_alloc_from_contiguous(). + This option does not affect warning and error messages. |