linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Some khugepaged folio conversions
@ 2023-10-16 20:05 Vishal Moola (Oracle)
  2023-10-16 20:05 ` [PATCH 1/5] mm/khugepaged: Convert __collapse_huge_page_isolate() to use folios Vishal Moola (Oracle)
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Vishal Moola (Oracle) @ 2023-10-16 20:05 UTC (permalink / raw)
  To: linux-mm; +Cc: linux-kernel, akpm, shy828301, Vishal Moola (Oracle)

This patchset converts a number of functions to use folios. This cleans
up some khugepaged code and removes a large number of hidden
compound_head() calls.

---

The first 2 patches break khugepaged max_ptes_shared selftests as the
functions now use folio_estimated_sharers() instead of page_mapcount().
This is expected, although I'm uncertain as to whether that's actually a
bad thing or not. Some performance testing/feedback would be appreciated
on that front.

Vishal Moola (Oracle) (5):
  mm/khugepaged: Convert __collapse_huge_page_isolate() to use folios
  mm/khugepaged: Convert hpage_collapse_scan_pmd() to use folios
  mm/khugepaged: Convert is_refcount_suitable() to use folios
  mm/khugepaged: Convert alloc_charge_hpage() to use folios
  mm/khugepaged: Convert collapse_pte_mapped_thp() to use folios

 mm/khugepaged.c | 145 +++++++++++++++++++++++-------------------------
 1 file changed, 69 insertions(+), 76 deletions(-)

-- 
2.40.1



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

end of thread, other threads:[~2023-10-18 17:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-16 20:05 [PATCH 0/5] Some khugepaged folio conversions Vishal Moola (Oracle)
2023-10-16 20:05 ` [PATCH 1/5] mm/khugepaged: Convert __collapse_huge_page_isolate() to use folios Vishal Moola (Oracle)
2023-10-16 20:05 ` [PATCH 2/5] mm/khugepaged: Convert hpage_collapse_scan_pmd() " Vishal Moola (Oracle)
2023-10-17 20:41   ` Yang Shi
2023-10-18 17:33     ` Vishal Moola
2023-10-16 20:05 ` [PATCH 3/5] mm/khugepaged: Convert is_refcount_suitable() " Vishal Moola (Oracle)
2023-10-16 20:05 ` [PATCH 4/5] mm/khugepaged: Convert alloc_charge_hpage() " Vishal Moola (Oracle)
2023-10-17  3:48   ` Kefeng Wang
2023-10-18 17:21     ` Vishal Moola
2023-10-16 20:05 ` [PATCH 5/5] mm/khugepaged: Convert collapse_pte_mapped_thp() " Vishal Moola (Oracle)

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