]> git.baikalelectronics.ru Git - kernel.git/commit
mm: Convert remove_mapping() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 13 Feb 2022 03:48:55 +0000 (22:48 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 16:59:01 +0000 (12:59 -0400)
commit5100da38ef3c33d9ad8b60b29c2b671249bf7e1d
treeeef4a39c6e56852c4cba81fe237adabb6e70213d
parente41c81d0d30e1a6ebf408feaf561f80cac4457dc
mm: Convert remove_mapping() to take a folio

Add kernel-doc and return the number of pages removed in order to
get the statistics right in __invalidate_mapping_pages().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
fs/splice.c
include/linux/swap.h
mm/truncate.c
mm/vmscan.c