Skip to content

Commit 1595617

Browse files
rppttorvalds
authored andcommitted
docs/core-api: move *{str,mem}dup* to "String Manipulation"
The string and memory duplication routines fit better to the "String Manipulation" section than to "The SLAB Cache". Link: http://lkml.kernel.org/r/1532626360-16650-5-git-send-email-rppt@linux.vnet.ibm.com Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Matthew Wilcox <willy@infradead.org> Cc: Michal Hocko <mhocko@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 7463f65 commit 1595617

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎Documentation/core-api/kernel-api.rst‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ String Manipulation
3939
.. kernel-doc:: lib/string.c
4040
:export:
4141

42+
.. kernel-doc:: mm/util.c
43+
:functions: kstrdup kstrdup_const kstrndup kmemdup kmemdup_nul memdup_user
44+
vmemdup_user strndup_user memdup_user_nul
45+
4246
Basic Kernel Library Functions
4347
==============================
4448

@@ -168,7 +172,7 @@ The Slab Cache
168172
:export:
169173

170174
.. kernel-doc:: mm/util.c
171-
:export:
175+
:functions: kfree_const kvmalloc_node kvfree get_user_pages_fast
172176

173177
User Space Memory Access
174178
------------------------

0 commit comments

Comments
 (0)