X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=mm%2FKconfig;h=b2d1aed56439f98b74fedb9b3e81c9cedb947b1e;hb=657712163ca3366c50d57addc8a6422036286fcb;hp=e742d06285b780eea632efe643e18d695f766928;hpb=109c3c0292d5b256bf9e5ca2b591aa9ac5804bc2;p=firefly-linux-kernel-4.4.55.git diff --git a/mm/Kconfig b/mm/Kconfig index e742d06285b7..b2d1aed56439 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -477,3 +477,30 @@ config FRONTSWAP and swap data is stored as normal on the matching swap device. If unsure, say Y to enable 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.