xref: /openbmc/linux/Documentation/core-api/mm-api.rst (revision a87132a229918fbc9d3cdacc61d3c8ae04e497ce)
141f35b39SMike Rapoport======================
241f35b39SMike RapoportMemory Management APIs
341f35b39SMike Rapoport======================
441f35b39SMike Rapoport
541f35b39SMike RapoportUser Space Memory Access
641f35b39SMike Rapoport========================
741f35b39SMike Rapoport
841f35b39SMike Rapoport.. kernel-doc:: arch/x86/include/asm/uaccess.h
941f35b39SMike Rapoport   :internal:
1041f35b39SMike Rapoport
1141f35b39SMike Rapoport.. kernel-doc:: arch/x86/lib/usercopy_32.c
1241f35b39SMike Rapoport   :export:
1341f35b39SMike Rapoport
14cc84ac35SJonathan Corbet.. kernel-doc:: mm/gup.c
1541f35b39SMike Rapoport   :functions: get_user_pages_fast
1641f35b39SMike Rapoport
1709700f8aSMike Rapoport.. _mm-api-gfp-flags:
1809700f8aSMike Rapoport
19038a07a5SMike RapoportMemory Allocation Controls
20038a07a5SMike Rapoport==========================
21038a07a5SMike Rapoport
223b2ebeafSMatthew Wilcox (Oracle).. kernel-doc:: include/linux/gfp.h
233b2ebeafSMatthew Wilcox (Oracle)   :internal:
24038a07a5SMike Rapoport
25038a07a5SMike Rapoport.. kernel-doc:: include/linux/gfp.h
26038a07a5SMike Rapoport   :doc: Page mobility and placement hints
27038a07a5SMike Rapoport
28038a07a5SMike Rapoport.. kernel-doc:: include/linux/gfp.h
29038a07a5SMike Rapoport   :doc: Watermark modifiers
30038a07a5SMike Rapoport
31038a07a5SMike Rapoport.. kernel-doc:: include/linux/gfp.h
32038a07a5SMike Rapoport   :doc: Reclaim modifiers
33038a07a5SMike Rapoport
34038a07a5SMike Rapoport.. kernel-doc:: include/linux/gfp.h
3580a76c72SMike Rapoport   :doc: Useful GFP flag combinations
36038a07a5SMike Rapoport
3741f35b39SMike RapoportThe Slab Cache
3841f35b39SMike Rapoport==============
3941f35b39SMike Rapoport
4041f35b39SMike Rapoport.. kernel-doc:: include/linux/slab.h
4141f35b39SMike Rapoport   :internal:
4241f35b39SMike Rapoport
4341f35b39SMike Rapoport.. kernel-doc:: mm/slab.c
4441f35b39SMike Rapoport   :export:
4541f35b39SMike Rapoport
4654a67c75SMike Rapoport.. kernel-doc:: mm/slab_common.c
4754a67c75SMike Rapoport   :export:
4854a67c75SMike Rapoport
4941f35b39SMike Rapoport.. kernel-doc:: mm/util.c
5041f35b39SMike Rapoport   :functions: kfree_const kvmalloc_node kvfree
5141f35b39SMike Rapoport
522f7e6f6bSMike RapoportVirtually Contiguous Mappings
532f7e6f6bSMike Rapoport=============================
542f7e6f6bSMike Rapoport
552f7e6f6bSMike Rapoport.. kernel-doc:: mm/vmalloc.c
562f7e6f6bSMike Rapoport   :export:
572f7e6f6bSMike Rapoport
582f7e6f6bSMike RapoportFile Mapping and Page Cache
592f7e6f6bSMike Rapoport===========================
6041f35b39SMike Rapoport
6141f35b39SMike Rapoport.. kernel-doc:: mm/readahead.c
6241f35b39SMike Rapoport   :export:
6341f35b39SMike Rapoport
6441f35b39SMike Rapoport.. kernel-doc:: mm/filemap.c
6541f35b39SMike Rapoport   :export:
6641f35b39SMike Rapoport
6741f35b39SMike Rapoport.. kernel-doc:: mm/page-writeback.c
6841f35b39SMike Rapoport   :export:
6941f35b39SMike Rapoport
7041f35b39SMike Rapoport.. kernel-doc:: mm/truncate.c
7141f35b39SMike Rapoport   :export:
722f7e6f6bSMike Rapoport
73767e5ee5SMatthew Wilcox (Oracle).. kernel-doc:: include/linux/pagemap.h
74767e5ee5SMatthew Wilcox (Oracle)   :internal:
75767e5ee5SMatthew Wilcox (Oracle)
762f7e6f6bSMike RapoportMemory pools
772f7e6f6bSMike Rapoport============
782f7e6f6bSMike Rapoport
792f7e6f6bSMike Rapoport.. kernel-doc:: mm/mempool.c
802f7e6f6bSMike Rapoport   :export:
812f7e6f6bSMike Rapoport
822f7e6f6bSMike RapoportDMA pools
832f7e6f6bSMike Rapoport=========
842f7e6f6bSMike Rapoport
852f7e6f6bSMike Rapoport.. kernel-doc:: mm/dmapool.c
862f7e6f6bSMike Rapoport   :export:
872f7e6f6bSMike Rapoport
882f7e6f6bSMike RapoportMore Memory Management Functions
892f7e6f6bSMike Rapoport================================
902f7e6f6bSMike Rapoport
912f7e6f6bSMike Rapoport.. kernel-doc:: mm/memory.c
922f7e6f6bSMike Rapoport   :export:
932f7e6f6bSMike Rapoport
942f7e6f6bSMike Rapoport.. kernel-doc:: mm/page_alloc.c
95*a87132a2SMatthew Wilcox (Oracle).. kernel-doc:: include/linux/mm_types.h
96*a87132a2SMatthew Wilcox (Oracle)   :internal:
97*a87132a2SMatthew Wilcox (Oracle).. kernel-doc:: include/linux/mm.h
98*a87132a2SMatthew Wilcox (Oracle)   :internal:
99