Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: mm/gup: minor documentation update

Now there are 5 cases. Updated the same.

Link: http://lkml.kernel.org/r/1592422023-7401-1-git-send-email-jrdr.linux@gmail.com
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Jan Kara <jack@suse.cz>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Souptick Joarder and committed by
Linus Torvalds
f9e55970 03960e33

+1 -1
+1 -1
Documentation/core-api/pin_user_pages.rst
··· 33 33 pin_user_pages*() APIs are clearly distinct from the get_user_pages*() APIs, so 34 34 that's a natural dividing line, and a good point to make separate wrapper calls. 35 35 In other words, use pin_user_pages*() for DMA-pinned pages, and 36 - get_user_pages*() for other cases. There are four cases described later on in 36 + get_user_pages*() for other cases. There are five cases described later on in 37 37 this document, to further clarify that concept. 38 38 39 39 FOLL_PIN and FOLL_GET are mutually exclusive for a given gup call. However,