xref: /linux/Documentation/core-api/mm-api.rst (revision 39f75da7bcc829ddc4d40bb60d0e95520de7898b)
1======================
2Memory Management APIs
3======================
4
5User Space Memory Access
6========================
7
8.. kernel-doc:: arch/x86/include/asm/uaccess.h
9   :internal:
10
11.. kernel-doc:: arch/x86/lib/usercopy_32.c
12   :export:
13
14.. kernel-doc:: mm/gup.c
15   :functions: get_user_pages_fast
16
17.. _mm-api-gfp-flags:
18
19Memory Allocation Controls
20==========================
21
22.. kernel-doc:: include/linux/gfp.h
23   :internal:
24
25.. kernel-doc:: include/linux/gfp.h
26   :doc: Page mobility and placement hints
27
28.. kernel-doc:: include/linux/gfp.h
29   :doc: Watermark modifiers
30
31.. kernel-doc:: include/linux/gfp.h
32   :doc: Reclaim modifiers
33
34.. kernel-doc:: include/linux/gfp.h
35   :doc: Useful GFP flag combinations
36
37The Slab Cache
38==============
39
40.. kernel-doc:: include/linux/slab.h
41   :internal:
42
43.. kernel-doc:: mm/slab.c
44   :export:
45
46.. kernel-doc:: mm/slab_common.c
47   :export:
48
49.. kernel-doc:: mm/util.c
50   :functions: kfree_const kvmalloc_node kvfree
51
52Virtually Contiguous Mappings
53=============================
54
55.. kernel-doc:: mm/vmalloc.c
56   :export:
57
58File Mapping and Page Cache
59===========================
60
61.. kernel-doc:: mm/readahead.c
62   :export:
63
64.. kernel-doc:: mm/filemap.c
65   :export:
66
67.. kernel-doc:: mm/page-writeback.c
68   :export:
69
70.. kernel-doc:: mm/truncate.c
71   :export:
72
73.. kernel-doc:: include/linux/pagemap.h
74   :internal:
75
76Memory pools
77============
78
79.. kernel-doc:: mm/mempool.c
80   :export:
81
82DMA pools
83=========
84
85.. kernel-doc:: mm/dmapool.c
86   :export:
87
88More Memory Management Functions
89================================
90
91.. kernel-doc:: mm/memory.c
92   :export:
93
94.. kernel-doc:: mm/page_alloc.c
95.. kernel-doc:: mm/mempolicy.c
96.. kernel-doc:: include/linux/mm_types.h
97   :internal:
98.. kernel-doc:: include/linux/mm.h
99   :internal:
100.. kernel-doc:: include/linux/mmzone.h
101