Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0
menuconfig CONFIG_ION
	bool "Ion Memory Manager"
	depends on CONFIG_HAS_DMA && CONFIG_MMU
	select CONFIG_GENERIC_ALLOCATOR
	select CONFIG_DMA_SHARED_BUFFER
	help
	  Choose this option to enable the CONFIG_ION Memory Manager,
	  used by Android to efficiently allocate buffers
	  from userspace that can be shared between drivers.
	  If you're not using Android its probably safe to
	  say N here.

config CONFIG_ION_SYSTEM_HEAP
	bool "Ion system heap"
	depends on CONFIG_ION
	help
	  Choose this option to enable the Ion system heap. The system heap
	  is backed by pages from the buddy allocator. If in doubt, say Y.

config CONFIG_ION_CMA_HEAP
	bool "Ion CMA heap support"
	depends on CONFIG_ION && CONFIG_DMA_CMA
	help
	  Choose this option to enable CONFIG_CMA heaps with Ion. This heap is backed
	  by the Contiguous Memory Allocator (CONFIG_CMA). If your system has these
	  regions, you should say Y here.