xref: /linux/Documentation/ABI/testing/sysfs-kernel-mm-cma (revision 1260ed77798502de9c98020040d2995008de10cc)
1What:		/sys/kernel/mm/cma/
2Date:		Feb 2021
3Contact:	Minchan Kim <minchan@kernel.org>
4Description:
5		/sys/kernel/mm/cma/ contains a subdirectory for each CMA
6		heap name (also sometimes called CMA areas).
7
8		Each CMA heap subdirectory (that is, each
9		/sys/kernel/mm/cma/<cma-heap-name> directory) contains the
10		following items:
11
12			alloc_pages_success
13			alloc_pages_fail
14
15What:		/sys/kernel/mm/cma/<cma-heap-name>/alloc_pages_success
16Date:		Feb 2021
17Contact:	Minchan Kim <minchan@kernel.org>
18Description:
19		the number of pages CMA API succeeded to allocate
20
21What:		/sys/kernel/mm/cma/<cma-heap-name>/alloc_pages_fail
22Date:		Feb 2021
23Contact:	Minchan Kim <minchan@kernel.org>
24Description:
25		the number of pages CMA API failed to allocate
26
27What:		/sys/kernel/mm/cma/<cma-heap-name>/release_pages_success
28Date:		Feb 2024
29Contact:	Anshuman Khandual <anshuman.khandual@arm.com>
30Description:
31		the number of pages CMA API succeeded to release
32
33What:		/sys/kernel/mm/cma/<cma-heap-name>/total_pages
34Date:		Jun 2024
35Contact:	Frank van der Linden <fvdl@google.com>
36Description:
37		The size of the CMA area in pages.
38
39What:		/sys/kernel/mm/cma/<cma-heap-name>/available_pages
40Date:		Jun 2024
41Contact:	Frank van der Linden <fvdl@google.com>
42Description:
43		The number of pages in the CMA area that are still
44		available for CMA allocation.
45