]> git.baikalelectronics.ru Git - kernel.git/commit
mm: Add folio_mapcount()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 17 Jan 2022 21:33:26 +0000 (16:33 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 16:59:02 +0000 (12:59 -0400)
commit191305cf14308efe95607068cc12a52347328475
treea70d8b819fcce1322e1193bbae30676eb3ce0ebf
parent0be52de7737a74f8bafb3d1add9e3bde0847f9b7
mm: Add folio_mapcount()

This implements the same algorithm as total_mapcount(), which is
transformed into a wrapper function.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
include/linux/mm.h
mm/huge_memory.c
mm/util.c