Skip to contentSkip to conversation

docs/mm: update kmalloc kernel-doc description

PATCH In review Mike Rapoport 2 participants 2 messages Nov 11, 2018 – Nov 20, 2018

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

PATCH 1/1 docs/mm: update kmalloc kernel-doc description

Add references to GFP documentation and the memory-allocation.rst and remove GFP_USER, GFP_DMA and GFP_NOIO descriptions.

While on it slightly change the formatting so that the list of GFP flags will be rendered as "description" in the generated html.

---

Probably this should go via the -mm tree as it touches include/linux/slab.h

 Documentation/core-api/memory-allocation.rst |  2 +
 include/linux/slab.h                         | 55 ++++++++++++++--------------
 2 files changed, 29 insertions(+), 28 deletions(-)
Documentation/core-api/memory-allocation.rst +2 -0
index f8bb9aa..39f35eb 100644
@@ -1,3 +1,5 @@
+.. _memory_allocation:
+
 =======================
 Memory Allocation Guide
 =======================
include/linux/slab.h +27 -28

75 lines not on this page · raw message

Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 10 lines · On Sun, 11 Nov 2018 18:48:44 +0200 Mike Rapoport <[email protected]> wrote:

Add references to GFP documentation and the memory-allocation.rst and remove GFP_USER, GFP_DMA and GFP_NOIO descriptions.

While on it slightly change the formatting so that the list of GFP flags will be rendered as "description" in the generated html.

---

Probably this should go via the -mm tree as it touches include/linux/slab.h

A week and some later it's not there - Andrew is even slower than me, it seems! :) So I went ahead and applied it, fixing the conflict over the addition of the memory_allocation label while I was at it.

Thanks,

jon