diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2013-07-15 11:13:54 +0200 |
---|---|---|
committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2013-07-15 11:13:54 +0200 |
commit | f7d8f1e9cb44e6ee1602586dbf7f2bed637a2b4e (patch) | |
tree | c56a58601b743997051a94532d4cb9b27f9a4635 /mm | |
parent | ad81f0545ef01ea651886dddac4bef6cec930092 (diff) | |
parent | f825c736e75b11adb59ec52a4a1096efddd2ec97 (diff) | |
download | blackbird-op-linux-f7d8f1e9cb44e6ee1602586dbf7f2bed637a2b4e.tar.gz blackbird-op-linux-f7d8f1e9cb44e6ee1602586dbf7f2bed637a2b4e.zip |
Merge remote-tracking branch 'dma-public/for-v3.12-cma-dma' into for-next
Conflicts:
mm/Kconfig
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
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 8028dcc6615c..256bfd0f6007 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -519,3 +519,27 @@ config MEM_SOFT_DIRTY it can be cleared by hands. See Documentation/vm/soft-dirty.txt for more details. + +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. |