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

Message ID 20240226141324.278526-1-david@redhat.com
Headers
Series mm: remove total_mapcount() |

Message

David Hildenbrand Feb. 26, 2024, 2:13 p.m. UTC
  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@linux-foundation.org>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>

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(-)