← Documents Documentation/mm/damon/api.rst GitHub 원문 ↗

Linux 6.18.37 · Memory management

DAMON API Reference

Kernel program이 damon.h structure와 mm/damon/core.c function API를 참조하는 진입점입니다.

Source pathDocumentation/mm/damon/api.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

api.rst:1-20

DAMON kernel API 문서는 public structure와 core function의 kernel-doc을 한 page에 연결합니다. Kernel-space caller는 `include/linux/damon.h`를 include해 기능을 사용합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0
2
3 =============
4 API Reference
5 =============
6
7 Kernel space programs can use every feature of DAMON using below APIs. All you
8 need to do is including ``damon.h``, which is located in ``include/linux/`` of
9 the source tree.
10
11 Structures
12 ==========
13
14 .. kernel-doc:: include/linux/damon.h
15
16
17 Functions
18 =========
19
20 .. kernel-doc:: mm/damon/core.c
21

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Kernel-space DAMON API

1-10

Kernel-space program은 아래 API로 DAMON의 모든 기능을 사용할 수 있습니다. Source tree의 `include/linux/`에 있는 `damon.h`를 include하면 됩니다.

.. SPDX-License-Identifier: GPL-2.0

=============
API Reference
=============

Kernel space programs can use every feature of DAMON using below APIs.  All you
need to do is including ``damon.h``, which is located in ``include/linux/`` of
the source tree.

Structure reference

11-16

DAMON structure reference는 `include/linux/damon.h`의 kernel-doc에서 생성됩니다.

Structures
==========

.. kernel-doc:: include/linux/damon.h

Function reference

17-20

DAMON function reference는 `mm/damon/core.c`의 kernel-doc에서 생성됩니다.

Functions
=========

.. kernel-doc:: mm/damon/core.c