mm: add virt_to_folio() and folio_address()
authorVlastimil Babka <vbabka@suse.cz>
Thu, 25 Nov 2021 17:15:37 +0000 (18:15 +0100)
committerVlastimil Babka <vbabka@suse.cz>
Mon, 20 Dec 2021 00:02:27 +0000 (01:02 +0100)
commit7d4203c13435c0bdae61bf16bbd0408d5b958ade
tree7ae59ad086d9903213fc6a87cbe76887a5570ada
parenta7904a538933c525096ca2ccde1e60d0ee62c08e
mm: add virt_to_folio() and folio_address()

These two wrappers around their respective struct page variants will be
useful in the following patches.

Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Roman Gushchin <guro@fb.com>
include/linux/mm.h