Re: [PATCHv2 18/28] thp: prepare change_huge_pmd() for file thp
From: Kirill A. Shutemov
Date: Tue Feb 16 2016 - 05:16:15 EST
On Fri, Feb 12, 2016 at 10:48:59AM -0800, Dave Hansen wrote:
> 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?
Makes sense.
--
Kirill A. Shutemov