HMM updates, improvements and fixes v2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 1 replyIn review 2 of 6 applied
Patches in v1 2 of 6 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | mm/hmm: fix utf8 ...include/ mm/ | +2 | 0 replies | |
| 2/6 | mm/rmap: map_pte() was not handling private ZONE_DEVICE page properly v3mm/ | +23 | 0 replies | Applied |
| 3/6 | mm/hmm: fix race between hmm_mirror_unregister() and mmu_notifier callbackmm/ | +21 | 1 reply | Applied |
| 4/6 | mm/hmm: properly handle migration pmd v3mm/ | +34 | 0 replies | |
| 5/6 | mm/hmm: use a structure for update callback parameters v2include/ mm/ | +44 | 0 replies | |
| 6/6 | mm/hmm: invalidate device page table at start of invalidationmm/ | +15 | 0 replies |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Balbir Singh | John Hubbard | Jérôme Glisse |
|---|---|---|---|
| 1/6 | |||
| 2/6 | R-b | ||
| 3/6 | R-b | R-b | R-b |
| 4/6 | |||
| 5/6 | |||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/6] HMM updates, improvements and fixes v2
From: JA(C)rA'me Glisse <[email protected]>
[Andrew this is for 4.20, stable fixes as cc to stable]
Few fixes that only affect HMM users. Improve the synchronization call back so that we match was other mmu_notifier listener do and add proper support to the new blockable flags in the process.
For curious folks here are branches to leverage HMM in various existing device drivers:
https://cgit.freedesktop.org/~glisse/linux/log/?h=hmm-nouveau-v01
https://cgit.freedesktop.org/~glisse/linux/log/?h=hmm-radeon-v00
https://cgit.freedesktop.org/~glisse/linux/log/?h=hmm-intel-v00
More to come (amd gpu, Mellanox, ...)
I expect more of the preparatory work for nouveau will be merge in 4.20 (like we have been doing since 4.16) and i will wait until this patchset is upstream before pushing the patches that actualy make use of HMM (to avoid complex tree inter-dependency).
JA(C)rA'me Glisse (4):
mm/hmm: fix utf8 ...
mm/hmm: properly handle migration pmd v3
mm/hmm: use a structure for update callback parameters v2 mm/hmm: invalidate device page table at start of invalidation
Ralph Campbell (2):
mm/rmap: map_pte() was not handling private ZONE_DEVICE page properly
v3
mm/hmm: fix race between hmm_mirror_unregister() and mmu_notifier
callback
include/linux/hmm.h | 33 +++++++---- mm/hmm.c | 134 +++++++++++++++++++++++++++++-------------- mm/page_vma_mapped.c | 24 +++++++- 3 files changed, 137 insertions(+), 54 deletions(-)
Signature · 1 line
2.17.2