]> 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)
commit37a872be928ed3f79cfa0a9f0dfbae99a20a5cb1
treeeef4a39c6e56852c4cba81fe237adabb6e70213d
parent7d4b29c78813c3c8f9d8789529a4a33f3c7c69ed
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