Skip to contentSkip to conversation

Link the memory allocation guide from the MM docs

PATCH Applied Matthew Wilcox 3 participants 3 messages Nov 19, 2018 – Nov 20, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Link the memory allocation guide from the MM docs

I just went looking for the memory allocation guide in the MM docs instead of in the core API. For the benefit of the next person who makes that mistake, link to it from the MM docs.

Documentation/core-api/memory-allocation.rst +2 -0
index f8bb9aa120c4..8954a88ff5b7 100644
@@ -1,3 +1,5 @@
+.. _memory-allocation:
+
 =======================
 Memory Allocation Guide
 =======================
Documentation/vm/index.rst +3 -1
index c4ded22197ca..2b3ab3a1ccf3 100644
@@ -2,7 +2,9 @@
 Linux Memory Management Documentation
 =====================================
 
-This is a collection of documents about Linux memory management (mm) subsystem.
+This is a collection of documents about the Linux memory management (mm)
+subsystem.  If you are looking for advice on simply allocating memory,
+see the :ref:`memory-allocation`.
 
 User guides for MM features
 ===========================
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Matthew Wilcox

I just went looking for the memory allocation guide in the MM docs instead of in the core API. For the benefit of the next person who makes that mistake, link to it from the MM docs.

Quoted 27 lines
Documentation/core-api/memory-allocation.rst +2 -0
index f8bb9aa120c4..8954a88ff5b7 100644
@@ -1,3 +1,5 @@
+.. _memory-allocation:
+
 =======================
 Memory Allocation Guide
 =======================
Documentation/vm/index.rst +3 -1
index c4ded22197ca..2b3ab3a1ccf3 100644
@@ -2,7 +2,9 @@
 Linux Memory Management Documentation
 =====================================
 
-This is a collection of documents about Linux memory management (mm) subsystem.
+This is a collection of documents about the Linux memory management (mm)
+subsystem.  If you are looking for advice on simply allocating memory,
+see the :ref:`memory-allocation`.
 
 User guides for MM features
 ===========================
Signature · 2 lines
Sincerely yours,
Mike.