| 1 |
What: /sys/kernel/mm/cma/ |
| 2 |
Date: Feb 2021 |
| 3 |
Contact: Minchan Kim <[email protected]> |
| 4 |
Description: |
| 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 |
|
| 15 |
What: /sys/kernel/mm/cma/<cma-heap-name>/alloc_pages_success |
| 16 |
Date: Feb 2021 |
| 17 |
Contact: Minchan Kim <[email protected]> |
| 18 |
Description: |
| 19 |
the number of pages CMA API succeeded to allocate |
| 20 |
|
| 21 |
What: /sys/kernel/mm/cma/<cma-heap-name>/alloc_pages_fail |
| 22 |
Date: Feb 2021 |
| 23 |
Contact: Minchan Kim <[email protected]> |
| 24 |
Description: |
| 25 |
the number of pages CMA API failed to allocate |
| 26 |
|
| 27 |
What: /sys/kernel/mm/cma/<cma-heap-name>/release_pages_success |
| 28 |
Date: Feb 2024 |
| 29 |
Contact: Anshuman Khandual <[email protected]> |
| 30 |
Description: |
| 31 |
the number of pages CMA API succeeded to release |
| 32 |
|
| 33 |
What: /sys/kernel/mm/cma/<cma-heap-name>/total_pages |
| 34 |
Date: Jun 2024 |
| 35 |
Contact: Frank van der Linden <[email protected]> |
| 36 |
Description: |
| 37 |
The size of the CMA area in pages. |
| 38 |
|
| 39 |
What: /sys/kernel/mm/cma/<cma-heap-name>/available_pages |
| 40 |
Date: Jun 2024 |
| 41 |
Contact: Frank van der Linden <[email protected]> |
| 42 |
Description: |
| 43 |
The number of pages in the CMA area that are still |
| 44 |
available for CMA allocation. |