[PATCH v2 0/2] mm: remove total_mapcount()

From: David Hildenbrand
Date: Mon Feb 26 2024 - 09:13:58 EST


Let's remove the remaining user from mm/memfd.c so we can get rid of
total_mapcount().

v1 -> v2:
* Adjust mm/memfd.c separately, and as suggested by Willy, clean it up
properly.

Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>

David Hildenbrand (2):
mm/memfd: refactor memfd_tag_pins() and memfd_wait_for_pins()
mm: remove total_mapcount()

include/linux/mm.h | 9 +--------
mm/memfd.c | 47 ++++++++++++++++++----------------------------
2 files changed, 19 insertions(+), 37 deletions(-)

--
2.43.2