On 14 Oct 2026, at 11:46, Konstantin Khorenko wrote:
<snip>
Signed-off-by: Konstantin Khorenko <redacted>
---
Changes in v3:
- Patch 1: recheck the PMD with pmd_none(), as only a zap can change
it and a zap leaves it none (Lance Yang).
- Link to v2: https://patch.msgid.link/20261014-b4-prep-vstor-149847-copy_huge_pmd-recheck-special-pmd-v2-0-e1548488fa68@virtuozzo.com (local)
Changes in v2:
- Add patch 2, the page table deposit for ppc64 hash, reported by
Sashiko.
- Patch 1: name panthor instead of drm_gem_shmem as the driver whose
stale child mapping reaches freed pages: drm_gem_shmem keeps the
pages of a purged object until the last mapping goes away.
- Link to v1: https://patch.msgid.link/20261014-b4-prep-vstor-149847-copy_huge_pmd-recheck-special-pmd-v1-1-d225c60bc316@virtuozzo.com (local)
Please stop sending new versions of a patchset repeatedly.
Wait at least a day for others to catch up.
Thanks.
---
Konstantin Khorenko (2):
mm/huge_memory: recheck a special PMD under the lock in copy_huge_pmd()
mm/huge_memory: deposit a page table for a special PMD copied by fork
mm/huge_memory.c | 34 +++++++++++++++++++++++++++-------
1 file changed, 27 insertions(+), 7 deletions(-)
---
base-commit: 24a19b953e2a3d0ea5a8c4951a0ab8f32720c907
change-id: 20261014-b4-prep-vstor-149847-copy_huge_pmd-recheck-special-pmd-bdf7efb612c2
Best regards,
--
Konstantin Khorenko [off-list ref]
Best Regards,
Yan, Zi