mm: swap: convert mark_page_lazyfree() to folio_mark_lazyfree()
authorKefeng Wang <wangkefeng.wang@huawei.com>
Fri, 9 Dec 2022 02:06:18 +0000 (10:06 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 19 Jan 2023 01:12:42 +0000 (17:12 -0800)
commit6a6fe9ebd571a4092b7d5c1f11e4e1e15d296fa5
tree76ec781c239ef810ee3ff6a0ce8440ddcf9ffd63
parentfc986a38b670d9b8f6af0596e973976018314a59
mm: swap: convert mark_page_lazyfree() to folio_mark_lazyfree()

mark_page_lazyfree() and the callers are converted to use folio, this
rename and make it to take in a folio argument instead of calling
page_folio().

Link: https://lkml.kernel.org/r/20221209020618.190306-1-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/swap.h
mm/huge_memory.c
mm/madvise.c
mm/swap.c