linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Clean up __folio_put()
@ 2024-03-02  7:00 Matthew Wilcox (Oracle)
  2024-03-02  7:00 ` [PATCH 1/4] mm/swap: Free non-hugetlb large folios in a batch Matthew Wilcox (Oracle)
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Matthew Wilcox (Oracle) @ 2024-03-02  7:00 UTC (permalink / raw)
  To: linux-mm; +Cc: Matthew Wilcox (Oracle), Kent Overstreet

With all the changes over the last few years, __folio_put_small and
__folio_put_large have become almost identical to each other ... except
you can't tell because they're spread over two files.  Rearrange it all
so that you can tell, and then inline them both into __folio_put().

Matthew Wilcox (Oracle) (4):
  mm/swap: Free non-hugetlb large folios in a batch
  page_alloc: Combine free_the_page() and free_unref_page()
  page_alloc: Inline destroy_large_folio() into __folio_put_large()
  swap: Combine __folio_put_small, __folio_put_large and __folio_put

 include/linux/mm.h |  2 --
 mm/page_alloc.c    | 37 ++++++++++---------------------------
 mm/swap.c          | 41 ++++++++++++++---------------------------
 3 files changed, 24 insertions(+), 56 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2024-03-02  7:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-02  7:00 [PATCH 0/4] Clean up __folio_put() Matthew Wilcox (Oracle)
2024-03-02  7:00 ` [PATCH 1/4] mm/swap: Free non-hugetlb large folios in a batch Matthew Wilcox (Oracle)
2024-03-02  7:00 ` [PATCH 2/4] page_alloc: Combine free_the_page() and free_unref_page() Matthew Wilcox (Oracle)
2024-03-02  7:00 ` [PATCH 3/4] page_alloc: Inline destroy_large_folio() into __folio_put_large() Matthew Wilcox (Oracle)
2024-03-02  7:00 ` [PATCH 4/4] swap: Combine __folio_put_small, __folio_put_large and __folio_put Matthew Wilcox (Oracle)

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