fs/proc/task_mmu.c | 1 - tools/testing/selftests/mm/hmm-tests.c | 29 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-)
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.
---
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
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@kernel.org/ 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 >
On Sat, 30 May 2026 08:54:10 +0000 Dev Jain <dev.jain@arm.com> 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. David, I'll retain your ack on patch 1. Sashiko has a concern about the selftest: https://sashiko.dev/#/patchset/20260530085413.1270139-1-dev.jain@arm.com
On 01/06/26 12:54 am, Andrew Morton wrote: > On Sat, 30 May 2026 08:54:10 +0000 Dev Jain <dev.jain@arm.com> 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. > > David, I'll retain your ack on patch 1. > > Sashiko has a concern about the selftest: > https://sashiko.dev/#/patchset/20260530085413.1270139-1-dev.jain@arm.com Same concern as raised by Balbir.
On 5/31/26 21:24, Andrew Morton wrote: > On Sat, 30 May 2026 08:54:10 +0000 Dev Jain <dev.jain@arm.com> 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. > > David, I'll retain your ack on patch 1. Thanks! -- Cheers, David
© 2016 - 2026 Red Hat, Inc.