Re: [PATCH v2 11/25] fs: Make page_mkwrite_check_truncate thp-aware

From: Kirill A. Shutemov
Date: Thu Feb 13 2020 - 10:44:06 EST


On Tue, Feb 11, 2020 at 08:18:31PM -0800, Matthew Wilcox wrote:
> From: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx>
>
> If the page is compound, check the appropriate indices and return the
> appropriate sizes.

Is it guarnteed that the page is never called on tail page?

--
Kirill A. Shutemov