Documentation/highmem: Add information about kmap_local_folio()
authorFabio M. De Francesco <fmdefrancesco@gmail.com>
Sat, 8 Jul 2023 12:16:18 +0000 (14:16 +0200)
committerJonathan Corbet <corbet@lwn.net>
Fri, 14 Jul 2023 19:45:18 +0000 (13:45 -0600)
commite4c9eabc931b2a6c80fcdece5eb5051d8aec92f8
treeca2c56ca8325d1e1564a2cf4e0348c5313863da9
parent9e6e2ed205196689e94e033503108b23a411421e
Documentation/highmem: Add information about kmap_local_folio()

The differences between kmap_local_page() and kmap_local_folio() consist
only in the first taking a pointer to a page and the second taking two
arguments, a pointer to a folio and the byte offset within the folio which
identifies the page.

The two API's can be explained at the same time in the "Temporary Virtual
Mappings" section of the Highmem's documentation.

Add information about kmap_local_folio() in the same subsection that
explains kmap_local_page().

Cc: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20230708121719.8270-1-fmdefrancesco@gmail.com
Documentation/mm/highmem.rst