Re: [PATCH v2 0/2] mm/hmm: A fix and a selftest
From: Lorenzo Stoakes
Date: Mon Jun 01 2026 - 04:34:13 EST
On Sat, May 30, 2026 at 08:54:10AM +0000, Dev Jain wrote:
> Patch 1 fixes a stale warning present from the time when only migration
> softleaf entries were supported at the PMD level.
>
> Patch 2 adds some code into hmm-tests.c which exercises the pagemap path
> for PMD device-private entries.
Thanks!
FYI running the HMM tests locally I ran into a nasty issue that I sent a patch
for [0]!
[0]: https://lore.kernel.org/linux-mm/20260601083044.57132-1-ljs@xxxxxxxxxx/
Cheers, Lorenzo
>
> ---
> Applies on mm-unstable (404fb4f38e8f).
>
> Dev Jain (2):
> fs/proc/task_mmu: do not warn on seeing non-migration pmd entry
> selftests/mm/hmm-tests: test pagemap reads of PMD device-private
> entries
>
> fs/proc/task_mmu.c | 1 -
> tools/testing/selftests/mm/hmm-tests.c | 29 ++++++++++++++++++++++++++
> 2 files changed, 29 insertions(+), 1 deletion(-)
>
> --
> 2.43.0
>