Documentation/translations/zh_CN/core-api/mm-api.rst
Source file repositories/reference/linux-study-clean/Documentation/translations/zh_CN/core-api/mm-api.rst
File Facts
- System
- Linux kernel
- Corpus path
Documentation/translations/zh_CN/core-api/mm-api.rst- Extension
.rst- Size
- 1611 bytes
- Lines
- 132
- Domain
- Support Tooling And Documentation
- Bucket
- Documentation
- Inferred role
- Support Tooling And Documentation: documentation
- Status
- atlas-only
Why This File Exists
Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/core-api/mm-api.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
周彬彬 Binbin Zhou <zhoubinbin@loongson.cn>
:校译:
时奎亮<alexs@kernel.org>
.. _cn_core-api_mm-api:
============
内存管理APIs
============
API(Application Programming Interface,应用程序接口)
用户空间内存访问
================
该API在以下内核代码中:
arch/x86/include/asm/uaccess.h
arch/x86/lib/usercopy_32.c
mm/gup.c
.. _cn_mm-api-gfp-flags:
内存分配控制
============
该API在以下内核代码中:
include/linux/gfp_types.h
Slab缓存
========
此缓存非cpu片上缓存,请读者自行查阅资料。
该API在以下内核代码中:
include/linux/slab.h
mm/slab.c
mm/slab_common.c
mm/util.c
虚拟连续(内存页)映射
======================
该API在以下内核代码中:
mm/vmalloc.c
文件映射和页面缓存
==================
该API在以下内核代码中:
文件映射
Annotation
- Atlas domain: Support Tooling And Documentation / Documentation.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.