hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/Documentation/core-api/mm-api.rst
....@@ -11,8 +11,10 @@
1111 .. kernel-doc:: arch/x86/lib/usercopy_32.c
1212 :export:
1313
14
-.. kernel-doc:: mm/util.c
14
+.. kernel-doc:: mm/gup.c
1515 :functions: get_user_pages_fast
16
+
17
+.. _mm-api-gfp-flags:
1618
1719 Memory Allocation Controls
1820 ==========================
....@@ -33,7 +35,7 @@
3335 :doc: Reclaim modifiers
3436
3537 .. kernel-doc:: include/linux/gfp.h
36
- :doc: Common combinations
38
+ :doc: Useful GFP flag combinations
3739
3840 The Slab Cache
3941 ==============
....@@ -44,11 +46,20 @@
4446 .. kernel-doc:: mm/slab.c
4547 :export:
4648
49
+.. kernel-doc:: mm/slab_common.c
50
+ :export:
51
+
4752 .. kernel-doc:: mm/util.c
4853 :functions: kfree_const kvmalloc_node kvfree
4954
50
-More Memory Management Functions
51
-================================
55
+Virtually Contiguous Mappings
56
+=============================
57
+
58
+.. kernel-doc:: mm/vmalloc.c
59
+ :export:
60
+
61
+File Mapping and Page Cache
62
+===========================
5263
5364 .. kernel-doc:: mm/readahead.c
5465 :export:
....@@ -56,23 +67,31 @@
5667 .. kernel-doc:: mm/filemap.c
5768 :export:
5869
59
-.. kernel-doc:: mm/memory.c
60
- :export:
61
-
62
-.. kernel-doc:: mm/vmalloc.c
63
- :export:
64
-
65
-.. kernel-doc:: mm/page_alloc.c
66
- :internal:
67
-
68
-.. kernel-doc:: mm/mempool.c
69
- :export:
70
-
71
-.. kernel-doc:: mm/dmapool.c
72
- :export:
73
-
7470 .. kernel-doc:: mm/page-writeback.c
7571 :export:
7672
7773 .. kernel-doc:: mm/truncate.c
7874 :export:
75
+
76
+.. kernel-doc:: include/linux/pagemap.h
77
+ :internal:
78
+
79
+Memory pools
80
+============
81
+
82
+.. kernel-doc:: mm/mempool.c
83
+ :export:
84
+
85
+DMA pools
86
+=========
87
+
88
+.. kernel-doc:: mm/dmapool.c
89
+ :export:
90
+
91
+More Memory Management Functions
92
+================================
93
+
94
+.. kernel-doc:: mm/memory.c
95
+ :export:
96
+
97
+.. kernel-doc:: mm/page_alloc.c