linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mm: remove total_mapcount()
@ 2024-02-26 14:13 David Hildenbrand
  2024-02-26 14:13 ` [PATCH v2 1/2] mm/memfd: refactor memfd_tag_pins() and memfd_wait_for_pins() David Hildenbrand
  2024-02-26 14:13 ` [PATCH v2 2/2] mm: remove total_mapcount() David Hildenbrand
  0 siblings, 2 replies; 7+ messages in thread
From: David Hildenbrand @ 2024-02-26 14:13 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-mm, David Hildenbrand, Andrew Morton, Matthew Wilcox

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

-- 
2.43.2



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-02-27 15:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-26 14:13 [PATCH v2 0/2] mm: remove total_mapcount() David Hildenbrand
2024-02-26 14:13 ` [PATCH v2 1/2] mm/memfd: refactor memfd_tag_pins() and memfd_wait_for_pins() David Hildenbrand
2024-02-26 16:07   ` Matthew Wilcox
2024-02-26 16:56     ` David Hildenbrand
2024-02-27 15:27       ` Matthew Wilcox
2024-02-26 14:13 ` [PATCH v2 2/2] mm: remove total_mapcount() David Hildenbrand
2024-02-26 16:09   ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox