Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in mm/mprotect.c between commit a9463d90124a ("mm: Count the number of pages affected in change_protection()") from the tip tree and commit "thp: change split_huge_page_pmd() interface" from the akpm tree. I fixed it up (see below) and can carry the fix as necessary (no action is required). -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx diff --cc mm/mprotect.c index 6ff2d5e,cbafe4b..0000000 --- a/mm/mprotect.c +++ b/mm/mprotect.c @@@ -89,11 -83,9 +89,11 @@@ static inline unsigned long change_pmd_ next = pmd_addr_end(addr, end); if (pmd_trans_huge(*pmd)) { if (next - addr != HPAGE_PMD_SIZE) - split_huge_page_pmd(vma->vm_mm, pmd); + split_huge_page_pmd(vma, addr, pmd); - else if (change_huge_pmd(vma, pmd, addr, newprot)) + else if (change_huge_pmd(vma, pmd, addr, newprot)) { + pages += HPAGE_PMD_NR; continue; + } /* fall through */ } if (pmd_none_or_clear_bad(pmd))
Attachment:
pgpaWJ8Ytke4W.pgp
Description: PGP signature