On Wed, Oct 22, 2014 at 02:15:54PM +0200, Peter Zijlstra wrote: > On Wed, Oct 22, 2014 at 02:53:04PM +0300, Kirill A. Shutemov wrote: > > Em, no. In this case change_protection() will not touch the pte, since > > it's pte_none() and the pte_same() check will pass just fine. > > Oh, that's what you meant. Yes that's a problem, yes vm_page_prot > needs wrapping too. Maybe also vm_policy, is there anything else that can change while a vma lives? -- 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>