From: Mike Rapoport <rppt@linux.vnet.ibm.com>
To: Jonathan Corbet <corbet@lwn.net>,
Andrew Morton <akpm@linux-foundation.org>
Cc: Matthew Wilcox <willy@infradead.org>,
linux-doc@vger.kernel.org, linux-mm@kvack.org,
linux-kernel@vger.kernel.org,
Mike Rapoport <rppt@linux.vnet.ibm.com>
Subject: [PATCH v2 4/7] docs/core-api: move *{str,mem}dup* to "String Manipulation"
Date: Thu, 26 Jul 2018 15:21:59 +0300 [thread overview]
Message-ID: <1532607722-17079-5-git-send-email-rppt@linux.vnet.ibm.com> (raw)
In-Reply-To: <1532607722-17079-1-git-send-email-rppt@linux.vnet.ibm.com>
The string and memory duplication routines fit better to the "String
Manipulation" section than to "The SLAB Cache".
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
---
Documentation/core-api/kernel-api.rst | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Documentation/core-api/kernel-api.rst b/Documentation/core-api/kernel-api.rst
index 25e9496..39f1460 100644
--- a/Documentation/core-api/kernel-api.rst
+++ b/Documentation/core-api/kernel-api.rst
@@ -39,6 +39,10 @@ String Manipulation
.. kernel-doc:: lib/string.c
:export:
+.. kernel-doc:: mm/util.c
+ :functions: kstrdup kstrdup_const kstrndup kmemdup kmemdup_nul memdup_user
+ vmemdup_user strndup_user memdup_user_nul
+
Basic Kernel Library Functions
==============================
@@ -168,7 +172,7 @@ The Slab Cache
:export:
.. kernel-doc:: mm/util.c
- :export:
+ :functions: kfree_const kvmalloc_node kvfree get_user_pages_fast
User Space Memory Access
------------------------
--
2.7.4
next prev parent reply other threads:[~2018-07-26 12:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-26 12:21 [PATCH v2 0/7] memory management documentation updates Mike Rapoport
2018-07-26 12:21 ` [PATCH v2 1/7] mm/util: make strndup_user description a kernel-doc comment Mike Rapoport
2018-07-26 12:21 ` [PATCH v2 2/7] mm/util: add kernel-doc for kvfree Mike Rapoport
2018-07-26 12:21 ` [PATCH v2 3/7] docs/core-api: kill trailing whitespace in kernel-api.rst Mike Rapoport
2018-07-26 12:21 ` Mike Rapoport [this message]
2018-07-26 12:22 ` [PATCH v2 5/7] docs/core-api: split memory management API to a separate file Mike Rapoport
2018-07-26 12:22 ` [PATCH v2 6/7] docs/mm: make GFP flags descriptions usable as kernel-doc Mike Rapoport
2018-07-26 12:22 ` [PATCH v2 7/7] docs/core-api: mm-api: add section about GFP flags Mike Rapoport
2018-07-26 13:01 ` Matthew Wilcox
2018-07-26 14:20 ` Michal Hocko
2018-07-26 15:18 ` Mike Rapoport
2018-07-26 15:36 ` Matthew Wilcox
2018-07-26 16:41 ` Michal Hocko
2018-07-26 17:24 ` Mike Rapoport
2018-07-26 15:29 ` Mike Rapoport
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1532607722-17079-5-git-send-email-rppt@linux.vnet.ibm.com \
--to=rppt@linux.vnet.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).