요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Area capacity and availability
sysfs-kernel-mm-cma:33-44CMA area의 전체 page capacity와 현재 allocation 가능한 pages를 함께 제공합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
1
What: /sys/kernel/mm/cma/
2
Date: Feb 2021
3
Contact: Minchan Kim <minchan@kernel.org>
4
Description:
5
/sys/kernel/mm/cma/ contains a subdirectory for each CMA
6
heap name (also sometimes called CMA areas).
8
Each CMA heap subdirectory (that is, each
9
/sys/kernel/mm/cma/<cma-heap-name> directory) contains the
10
following items:
12
alloc_pages_success
13
alloc_pages_fail
15
What: /sys/kernel/mm/cma/<cma-heap-name>/alloc_pages_success
16
Date: Feb 2021
17
Contact: Minchan Kim <minchan@kernel.org>
18
Description:
19
the number of pages CMA API succeeded to allocate
21
What: /sys/kernel/mm/cma/<cma-heap-name>/alloc_pages_fail
22
Date: Feb 2021
23
Contact: Minchan Kim <minchan@kernel.org>
24
Description:
25
the number of pages CMA API failed to allocate
27
What: /sys/kernel/mm/cma/<cma-heap-name>/release_pages_success
28
Date: Feb 2024
29
Contact: Anshuman Khandual <anshuman.khandual@arm.com>
30
Description:
31
the number of pages CMA API succeeded to release
33
What: /sys/kernel/mm/cma/<cma-heap-name>/total_pages
34
Date: Jun 2024
35
Contact: Frank van der Linden <fvdl@google.com>
36
Description:
37
The size of the CMA area in pages.
39
What: /sys/kernel/mm/cma/<cma-heap-name>/available_pages
40
Date: Jun 2024
41
Contact: Frank van der Linden <fvdl@google.com>
42
Description:
43
The number of pages in the CMA area that are still
44
available for CMA allocation.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
CMA cma
1-14| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/kernel/mm/cma/ |
| Date | 2021년 2월 |
| Contact | Minchan Kim <minchan@kernel.org> |
| Description | `/sys/kernel/mm/cma/`에는 각 CMA heap name(CMA areas라고도 함)의 subdirectory가 있습니다. 각 `/sys/kernel/mm/cma/<cma-heap-name>` directory는 `alloc_pages_success`와 `alloc_pages_fail` items를 포함합니다. |
CMA alloc pages success
15-20| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/kernel/mm/cma/<cma-heap-name>/alloc_pages_success |
| Date | 2021년 2월 |
| Contact | Minchan Kim <minchan@kernel.org> |
| Description | CMA API가 allocation에 성공한 pages 수입니다. |
CMA alloc pages fail
21-26| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/kernel/mm/cma/<cma-heap-name>/alloc_pages_fail |
| Date | 2021년 2월 |
| Contact | Minchan Kim <minchan@kernel.org> |
| Description | CMA API가 allocation에 실패한 pages 수입니다. |
CMA release pages success
27-32| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/kernel/mm/cma/<cma-heap-name>/release_pages_success |
| Date | 2024년 2월 |
| Contact | Anshuman Khandual <anshuman.khandual@arm.com> |
| Description | CMA API가 release에 성공한 pages 수입니다. |
CMA total pages
33-38| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/kernel/mm/cma/<cma-heap-name>/total_pages |
| Date | 2024년 6월 |
| Contact | Frank van der Linden <fvdl@google.com> |
| Description | CMA area의 size를 pages 단위로 표시합니다. |
CMA available pages
39-44| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/kernel/mm/cma/<cma-heap-name>/available_pages |
| Date | 2024년 6월 |
| Contact | Frank van der Linden <fvdl@google.com> |
| Description | CMA area에서 CMA allocation에 아직 사용할 수 있는 pages 수입니다. |
AttributeMeaningUnit
alloc_pages_successPages successfully allocatedPages
alloc_pages_failPages that failed allocationPages
release_pages_successPages successfully releasedPages
total_pagesCMA area sizePages
available_pagesPages still available for CMA allocationPages
Heap name별 allocation·release 결과와 capacity를 pages 단위로 제공합니다.
Allocation and release outcomes
sysfs-kernel-mm-cma:1-32CMA area마다 page allocation 성공·실패와 release 성공 횟수를 제공해 allocator 동작을 관찰합니다.