Commit 2f7e6f6b authored by Mike Rapoport's avatar Mike Rapoport Committed by Jonathan Corbet

docs/core-api: make mm-api.rst more structured

The mm-api.rst covers variety of memory management APIs under "More Memory
Management Functions" section. The descriptions included there are in a
random order there are quite a few of them which makes the section too
long.

Regrouping the documentation by subject and splitting the long "More Memory
Management Functions" section into several smaller sections makes the
generated html more usable.
Signed-off-by: default avatarMike Rapoport <rppt@linux.ibm.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent c5ed311b
...@@ -49,8 +49,14 @@ The Slab Cache ...@@ -49,8 +49,14 @@ The Slab Cache
.. kernel-doc:: mm/util.c .. kernel-doc:: mm/util.c
:functions: kfree_const kvmalloc_node kvfree :functions: kfree_const kvmalloc_node kvfree
More Memory Management Functions Virtually Contiguous Mappings
================================ =============================
.. kernel-doc:: mm/vmalloc.c
:export:
File Mapping and Page Cache
===========================
.. kernel-doc:: mm/readahead.c .. kernel-doc:: mm/readahead.c
:export: :export:
...@@ -58,23 +64,28 @@ More Memory Management Functions ...@@ -58,23 +64,28 @@ More Memory Management Functions
.. kernel-doc:: mm/filemap.c .. kernel-doc:: mm/filemap.c
:export: :export:
.. kernel-doc:: mm/memory.c .. kernel-doc:: mm/page-writeback.c
:export: :export:
.. kernel-doc:: mm/vmalloc.c .. kernel-doc:: mm/truncate.c
:export: :export:
.. kernel-doc:: mm/page_alloc.c Memory pools
:internal: ============
.. kernel-doc:: mm/mempool.c .. kernel-doc:: mm/mempool.c
:export: :export:
DMA pools
=========
.. kernel-doc:: mm/dmapool.c .. kernel-doc:: mm/dmapool.c
:export: :export:
.. kernel-doc:: mm/page-writeback.c More Memory Management Functions
:export: ================================
.. kernel-doc:: mm/truncate.c .. kernel-doc:: mm/memory.c
:export: :export:
.. kernel-doc:: mm/page_alloc.c
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment