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