aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSouptick Joarder <[email protected]>2020-06-25 20:30:25 -0700
committerLinus Torvalds <[email protected]>2020-06-26 00:27:37 -0700
commitf9e559703d0899cc74684128244682182157aa64 (patch)
tree1d580973b8cc2a5850c455bc0101664d07f5b7d8
parent03960e33187ae969187281c3aa6c308d7282c468 (diff)
docs: mm/gup: minor documentation update
Now there are 5 cases. Updated the same. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Souptick Joarder <[email protected]> Reviewed-by: John Hubbard <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Jan Kara <[email protected]> Cc: Kirill A. Shutemov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--Documentation/core-api/pin_user_pages.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/core-api/pin_user_pages.rst b/Documentation/core-api/pin_user_pages.rst
index 6068266dd303..7ca8c7bac650 100644
--- a/Documentation/core-api/pin_user_pages.rst
+++ b/Documentation/core-api/pin_user_pages.rst
@@ -33,7 +33,7 @@ all combinations of get*(), pin*(), FOLL_LONGTERM, and more. Also, the
pin_user_pages*() APIs are clearly distinct from the get_user_pages*() APIs, so
that's a natural dividing line, and a good point to make separate wrapper calls.
In other words, use pin_user_pages*() for DMA-pinned pages, and
-get_user_pages*() for other cases. There are four cases described later on in
+get_user_pages*() for other cases. There are five cases described later on in
this document, to further clarify that concept.
FOLL_PIN and FOLL_GET are mutually exclusive for a given gup call. However,