Skip to content

mm/hmm: A fix and a selftest

Dev Jain linux-fsdevel linux-kselftest linux-mm lkml stable 3 versions – Applied

Status from this message: [merged mm-stable] selftests-mm-hmm-tests-test-pagemap-reads-of-pmd-device-private-entries.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyApplied 2/2
  2. v22 patches 10 repliesSuperseded
  3. v11 patch 7 repliesSuperseded

Changes in v3 from the cover letter

- Use MADV_COLLAPSE, use PAGEMAP_PRESENT

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2fs/proc/task_mmu: do not warn on seeing non-migration pmd entryfs/proc/task_mmu.c+0 -10 repliesApplied
2/2selftests/mm/hmm-tests: test pagemap reads of PMD device-private entriestools/testing/selftests/mm/hmm-tests.c+32 -21 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBalbir SinghLorenzo StoakesDavid Hildenbrand (Arm)Oscar Salvador (SUSE)
1/2R-b R-b T-b A-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/2] mm/hmm: A fix and a selftest

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 (d17fe8a046a2).

v2->v3:
- Use MADV_COLLAPSE, use PAGEMAP_PRESENT

v1->v2:
- Add test

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 | 34 ++++++++++++++++++++++++--
 2 files changed, 32 insertions(+), 3 deletions(-)
Signature · 1 line
2.43.0