[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231016200510.7387-1-vishal.moola@gmail.com>
Date: Mon, 16 Oct 2023 13:05:05 -0700
From: "Vishal Moola (Oracle)" <vishal.moola@...il.com>
To: linux-mm@...ck.org
Cc: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
shy828301@...il.com,
"Vishal Moola (Oracle)" <vishal.moola@...il.com>
Subject: [PATCH 0/5] Some khugepaged folio conversions
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
Powered by blists - more mailing lists