diff --git a/mm/Kconfig b/mm/Kconfig index 7b7eae150c4e..abfaf331c140 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -690,3 +690,13 @@ config ZONE_DEVICE config FRAME_VECTOR bool + +config FORCE_ALLOC_FROM_DMA_ZONE + bool "Force certain memory allocators to always return ZONE_DMA memory" + depends on ZONE_DMA + help + Ensure certain memory allocators always return memory from ZONE_DMA. + This option helps ensure that clients who require ZONE_DMA memory are + always using ZONE_DMA memory. + + If unsure, say "n".