Skip to content

mm/hmm: more HMM clean up

Ralph Campbell amd-gfx dri-devel linux-mm lkml nouveau 2 versions – Applied

Status from this message: I've applied this to hmm.git, excluding:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 7 repliesApplied
  2. v12 patches 5 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/7mm/hmm: replace hmm_update with mmu_notifier_rangedrivers/gpu/drm/amd/amdgpu/amdgpu_mn.c drivers/gpu/drm/nouveau/nouveau_svm.c include/linux/hmm.h +1 more+14 -420 replies
2/7mm/hmm: a few more C style and comment clean upsmm/hmm.c+17 -222 replies
3/7mm/hmm: replace the block argument to hmm_range_fault with a flags valuedrivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c drivers/gpu/drm/nouveau/nouveau_svm.c include/linux/hmm.h +1 more+48 -410 replies
4/7mm: merge hmm_range_snapshot into hmm_range_faultDocumentation/vm/hmm.rst include/linux/hmm.h mm/hmm.c+13 -930 replies
5/7mm/hmm: make full use of walk_page_range()mm/hmm.c+57 -732 replies
6/7mm/hmm: remove hugetlbfs check in hmm_vma_walk_pmdmm/hmm.c+0 -31 reply
7/7mm/hmm: remove hmm_range vmadrivers/gpu/drm/nouveau/nouveau_svm.c include/linux/hmm.h+3 -51 reply

Reviews trailers per patch

4 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChristoph HellwigJason Gunthorpe
SeriesR-b
1/7
2/7R-b
3/7
4/7
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/7] mm/hmm: more HMM clean up

Here are seven more patches for things I found to clean up. This was based on top of Christoph's seven patches:
"hmm_range_fault related fixes and legacy API removal v3". I assume this will go into Jason's tree since there will likely be more HMM changes in this cycle.

Changes from v1 to v2:

Added AMD GPU to hmm_update removal.
Added 2 patches from Christoph.
Added 2 patches as a result of Jason's suggestions.

Christoph Hellwig (2):
mm/hmm: replace the block argument to hmm_range_fault with a flags
value
mm: merge hmm_range_snapshot into hmm_range_fault

Ralph Campbell (5):
mm/hmm: replace hmm_update with mmu_notifier_range mm/hmm: a few more C style and comment clean ups mm/hmm: make full use of walk_page_range() mm/hmm: remove hugetlbfs check in hmm_vma_walk_pmd mm/hmm: remove hmm_range vma

 Documentation/vm/hmm.rst                |  17 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c  |   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c |   2 +-
 drivers/gpu/drm/nouveau/nouveau_svm.c   |  13 +-
 include/linux/hmm.h                     |  47 ++--
 mm/hmm.c                                | 340 ++++++++----------------
 6 files changed, 150 insertions(+), 277 deletions(-)
Signature · 6 lines
2.20.1

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel