Re: [Nouveau] [PATCH v3] mm/thp: fix __split_huge_pmd_locked() for migration PMD

2020-09-05 Thread Sasha Levin
Hi [This is an automated email] This commit has been processed because it contains a "Fixes:" tag fixing commit: 84c3fc4e9c56 ("mm: thp: check pmd migration entry in common path"). The bot has tested the following trees: v5.8.6, v5.4.62, v4.19.143, v4.14.196. v5.8.6: Build OK! v5.4.62: Failed

[Nouveau] [PATCH v3] mm/thp: fix __split_huge_pmd_locked() for migration PMD

2020-09-03 Thread Ralph Campbell
A migrating transparent huge page has to already be unmapped. Otherwise, the page could be modified while it is being copied to a new page and data could be lost. The function __split_huge_pmd() checks for a PMD migration entry before calling __split_huge_pmd_locked() leading one to think that