Re: [PATCHv2 18/28] thp: prepare change_huge_pmd() for file thp

From: Dave Hansen
Date: Fri Feb 12 2016 - 13:49:24 EST


On 02/11/2016 06:21 AM, Kirill A. Shutemov wrote:
> change_huge_pmd() has assert which is not relvant for file page.
> For shared mapping it's perfectly fine to have page table entry
> writable, without explicit mkwrite.

Should we have the bug only trigger on anonymous VMAs instead of
removing it?