]> 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)
commit51875534a12182f16a7e794ff4fb07afcf422771
treeeef4a39c6e56852c4cba81fe237adabb6e70213d
parent8f6babb5fea32777a4cf7795b2f604b2db5df9cb
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