Skip to contentSkip to conversation

docs/mm: remove references to hmm_mirror ops and clean typos

PATCH Applied Marco Pagani 3 participants 3 messages Aug 25, 2023 – Aug 28, 2023

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/mm: remove references to hmm_mirror ops and clean typos

Clean typos and remove the reference to the sync_cpu_device_pagetables() callback since all hmm_mirror ops have been removed.

Fixes a22dd506400d ("mm/hmm: remove hmm_mirror and related")
---
 Documentation/mm/hmm.rst | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)
Documentation/mm/hmm.rst +1 -10
index 9aa512c3a12c..1e0f2b2f58fb 100644
@@ -163,16 +163,7 @@ use::
 
 It will trigger a page fault on missing or read-only entries if write access is
 requested (see below). Page faults use the generic mm page fault code path just
-like a CPU page fault.
-
-Both functions copy CPU page table entries into their pfns array argument. Each
-entry in that array corresponds to an address in the virtual range. HMM
-provides a set of flags to help the driver identify special CPU page table
-entries.
-
-Locking within the sync_cpu_device_pagetables() callback is the most important
-aspect the driver must respect in order to keep things properly synchronized.
-The usage pattern is::
+like a CPU page fault. The usage pattern is::
 
  int driver_populate_range(...)
  {
Signature · 1 line
2.41.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Marco Pagani

Clean typos and remove the reference to the sync_cpu_device_pagetables() callback since all hmm_mirror ops have been removed.

Fixes a22dd506400d ("mm/hmm: remove hmm_mirror and related")
---
 Documentation/mm/hmm.rst | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

Jason

maintainer Applied
#2 lore raw
In reply to Marco Pagani
Quoted 9 lines · Marco Pagani

Clean typos and remove the reference to the sync_cpu_device_pagetables() callback since all hmm_mirror ops have been removed.

Fixes a22dd506400d ("mm/hmm: remove hmm_mirror and related")
---
 Documentation/mm/hmm.rst | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

Applied, thanks.

jon