[PATCH v1 0/4] mm: cleanups for device-exclusive entries (hmm)
From: David Hildenbrand
Date: Wed Jan 29 2025 - 06:58:25 EST
This is a follow-up to [1], performing some related cleanups. There
are more cleanups to be had, but I'll have to focus on some other stuff
next. I might come back to that once I'm stuck on (annoyed by :) )
other things.
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Cc: "Jérôme Glisse" <jglisse@xxxxxxxxxx>
Cc: Jonathan Corbet <corbet@xxxxxxx>
Cc: Alex Shi <alexs@xxxxxxxxxx>
Cc: Yanteng Si <si.yanteng@xxxxxxxxx>
Cc: Karol Herbst <kherbst@xxxxxxxxxx>
Cc: Lyude Paul <lyude@xxxxxxxxxx>
Cc: Danilo Krummrich <dakr@xxxxxxxxxx>
Cc: David Airlie <airlied@xxxxxxxxx>
Cc: Simona Vetter <simona@xxxxxxxx>
Cc: "Liam R. Howlett" <Liam.Howlett@xxxxxxxxxx>
Cc: Lorenzo Stoakes <lorenzo.stoakes@xxxxxxxxxx>
Cc: Vlastimil Babka <vbabka@xxxxxxx>
Cc: Jann Horn <jannh@xxxxxxxxxx>
Cc: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>
Cc: Peter Xu <peterx@xxxxxxxxxx>
Cc: Alistair Popple <apopple@xxxxxxxxxx>
Cc: Jason Gunthorpe <jgg@xxxxxxxxxx>
[1] https://lkml.kernel.org/r/20250129115411.2077152-1-david@xxxxxxxxxx
David Hildenbrand (4):
lib/test_hmm: make dmirror_atomic_map() consume a single page
mm/mmu_notifier: drop owner from MMU_NOTIFY_EXCLUSIVE
mm/memory: pass folio and pte to restore_exclusive_pte()
mm/memory: document restore_exclusive_pte()
drivers/gpu/drm/nouveau/nouveau_svm.c | 6 +--
include/linux/mmu_notifier.h | 4 +-
include/linux/rmap.h | 2 +-
lib/test_hmm.c | 35 ++++++-----------
mm/memory.c | 54 +++++++++++++++++++--------
mm/rmap.c | 3 +-
6 files changed, 54 insertions(+), 50 deletions(-)
--
2.48.1