Skip to content

Commit 090a7f1

Browse files
Marco PaganiJonathan Corbet
authored andcommitted
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: a22dd50 ("mm/hmm: remove hmm_mirror and related") Signed-off-by: Marco Pagani <marpagan@redhat.com> Reviewed-by: Mika Penttilä <mpenttil@redhat.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20230825133546.249683-1-marpagan@redhat.com
1 parent 21b25bd commit 090a7f1

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

Documentation/mm/hmm.rst

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -163,16 +163,7 @@ use::
163163

164164
It will trigger a page fault on missing or read-only entries if write access is
165165
requested (see below). Page faults use the generic mm page fault code path just
166-
like a CPU page fault.
167-
168-
Both functions copy CPU page table entries into their pfns array argument. Each
169-
entry in that array corresponds to an address in the virtual range. HMM
170-
provides a set of flags to help the driver identify special CPU page table
171-
entries.
172-
173-
Locking within the sync_cpu_device_pagetables() callback is the most important
174-
aspect the driver must respect in order to keep things properly synchronized.
175-
The usage pattern is::
166+
like a CPU page fault. The usage pattern is::
176167

177168
int driver_populate_range(...)
178169
{

0 commit comments

Comments
 (0)