mm: Add kmap_local_folio()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 30 Dec 2020 15:21:39 +0000 (10:21 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 18 Oct 2021 11:49:38 +0000 (07:49 -0400)
commit53c36de0701f2fdda6b1d209dc89e2bad4a9c7b8
treebb2ad9e09ae5c30285e16ea6914fd30b52464c25
parent08b0b0059bf1c2e8637f724cc7cc4d29b1e808de
mm: Add kmap_local_folio()

This allows us to map a portion of a folio.  Callers can only expect
to access up to the next page boundary.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
include/linux/highmem-internal.h
include/linux/highmem.h