Re: [PATCH 0/6] mm: preparatory patches for PMD level swap entries

From: Usama Arif

Date: Fri Jul 03 2026 - 13:48:48 EST


On Tue, 30 Jun 2026 09:34:37 -0700 Usama Arif <usama.arif@xxxxxxxxx> wrote:

> This is the preparatory part of the PMD page table swapin work. The
> full PMD swap entry series has been split into two parts:
>
> 1. this preparatory series, which contains the first 6 patches. Zi [1]
> and Lance [2] suggested to separate this out from the core series.
> 2. the PMD swap entry core series, which depends on this one. I will
> send this once the preparatory series is merged in mm-new as v3
> as the combined is currently at v2 [1].
> I have not marked this prep series as v3, as its not really adding
> support for PMD swap entries.
>
> This series does not introduce PMD swap entries and does not install any
> new page-table entry type. It only cleans up existing PMD softleaf
> helpers and call sites so the follow-up PMD swap entry series can be
> smaller and easier to review.
>

Hi Andrew,

The series only needs 2 small changes:

Removing a comment:
https://lore.kernel.org/all/157838aa-1518-46b5-8734-feab2c42ee2a@xxxxxxxxxx/

and s/CONFIG_ARCH_SUPPORTS_PMD/CONFIG_ARCH_HAS_PMD_SOFTLEAVES/
in the last patch:
https://lore.kernel.org/all/e37df165-8de0-4924-ba19-0d43a6b7d36e@xxxxxxxxxx/

I am always torn between sending a fixlet on the existing series or a
new revision.
Just wanted to check what is easiest for you and your preference
in situations like above?

Thanks!
Usama