Skip to content

docs/core-api: add memory allocation guide

Mike Rapoport linux-doc linux-mm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 2 repliesIn review
  2. v33 patches 5 repliesSuperseded
  3. v23 patches 1 replySuperseded

Changes in v4 from the cover letter

* make GFP_*USER* description less confusing

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3docs: core-api/gfp_mask-from-fs-io: add a label for cross-referencingDocumentation/core-api/gfp_mask-from-fs-io.rst+2 -00 replies
2/3docs: core-api/mm-api: add a lable for GFP flags sectionDocumentation/core-api/mm-api.rst+2 -00 replies
3/3docs: core-api: add memory allocation guideDocumentation/core-api/index.rst Documentation/core-api/memory-allocation.rst+123 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMichal HockoRandy Dunlap
1/3
2/3
3/3A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] docs/core-api: add memory allocation guide

Hi,

As Vlastimil mentioned at [1], it would be nice to have some guide about memory allocation. This set adds such guide that summarizes the "best practices".

The changes from the RFC include additions and corrections from Michal and Randy. I've also added markup to cross-reference the kernel-doc documentation.

I've split the patch into three to separate labels addition to the exiting files from the new contents.

v3 -> v4:
* make GFP_*USER* description less confusing

v2 -> v3:
* s/HW/hardware

[1] https://www.spinics.net/lists/netfilter-devel/msg55542.html

Mike Rapoport (3):
docs: core-api/gfp_mask-from-fs-io: add a label for cross-referencing
docs: core-api/mm-api: add a lable for GFP flags section
docs: core-api: add memory allocation guide

 Documentation/core-api/gfp_mask-from-fs-io.rst |   2 +
 Documentation/core-api/index.rst               |   1 +
 Documentation/core-api/memory-allocation.rst   | 122 +++++++++++++++++++++++++
 Documentation/core-api/mm-api.rst              |   2 +
 4 files changed, 127 insertions(+)
 create mode 100644 Documentation/core-api/memory-allocation.rst
Signature · 1 line
2.7.4