Skip to content

Small hmm_range_fault() cleanups

Jason Gunthorpe amd-gfx dri-devel linux-mm 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest0 of 9 patches 0 repliesNew
  2. v2 posting 2/29 patches 2 repliesSuperseded
  3. v2 posting 1/29 patches 12 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches16 repliesSuperseded

Changes in v3 from the cover letter

- Keep NEED_WRITE_FAULT and NEED_FAULT separate (CH)
- Use CH's vesion of hmm_can_fault and drop the inline
v2: https://lore.kernel.org/r/[email protected]
v1: https://lore.kernel.org/r/[email protected]

Patches in v3 No applies recorded yet

None of the 9 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchRalph CampbellChristoph Hellwig
SeriesR-b T-b R-b T-b R-b T-b R-b R-b R-b R-b R-b R-b R-b R-b R-b

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

Read the v3 thread

Cover letter [PATCH v3 hmm 0/9] Small hmm_range_fault() cleanups

From: Jason Gunthorpe <[email protected]>

This is v3 with some minor adjustments made.

We are at the end of the dev cycle, and as nothing major has come up I'll push this toward linux-next to get some coverage and decide next week what goes this cycle.

v3 changes:
- Keep NEED_WRITE_FAULT and NEED_FAULT separate (CH)
- Use CH's vesion of hmm_can_fault and drop the inline
v2: https://lore.kernel.org/r/[email protected]
v1: https://lore.kernel.org/r/[email protected]

Thanks to everyone who looked on this,
Jason

Jason Gunthorpe (9):
mm/hmm: remove pgmap checking for devmap pages mm/hmm: return the fault type from hmm_pte_need_fault() mm/hmm: remove unused code and tidy comments mm/hmm: remove HMM_FAULT_SNAPSHOT
mm/hmm: remove the CONFIG_TRANSPARENT_HUGEPAGE #ifdef mm/hmm: use device_private_entry_to_pfn()
mm/hmm: do not unconditionally set pfns when returning EBUSY mm/hmm: do not set pfns when returning an error code mm/hmm: return error for non-vma snapshots

 Documentation/vm/hmm.rst                |  12 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c |   2 +-
 drivers/gpu/drm/nouveau/nouveau_svm.c   |   2 +-
 include/linux/hmm.h                     | 109 +--------
 mm/hmm.c                                | 307 +++++++++---------------
 5 files changed, 128 insertions(+), 304 deletions(-)
Signature · 1 line
2.25.2