Skip to content

Commit

Permalink
docs/core-api: move *{str,mem}dup* to "String Manipulation"
Browse files Browse the repository at this point in the history
The string and memory duplication routines fit better to the "String
Manipulation" section than to "The SLAB Cache".

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Michal Hocko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
rppt authored and torvalds committed Aug 24, 2018
1 parent 7463f65 commit 1595617
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Documentation/core-api/kernel-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
==============================

Expand Down Expand Up @@ -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
------------------------
Expand Down

0 comments on commit 1595617

Please sign in to comment.