It also breaks fairly quickly under testing because: On 04/07/2014 10:48 AM, Kirill A. Shutemov wrote: > + if (IS_ENABLED(CONFIG_DEBUG_PAGEALLOC)) { > + spin_lock(ptl); ^ We go into atomic > + if (unlikely(!pmd_same(*pmd, orig_pmd))) > + goto out_race; > + } > + > if (!page) > clear_huge_page(new_page, haddr, HPAGE_PMD_NR); > else > copy_user_huge_page(new_page, page, haddr, vma, HPAGE_PMD_NR); copy_user_huge_page() doesn't like running in atomic state, and asserts might_sleep(). Thanks, Sasha -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>