Re: [PATCH 08/11] mm/rmap: Fix assumptions of THP size

Kirill A. Shutemov
2020-09-09T14:47:16Z

On Tue, Sep 08, 2020 at 08:55:35PM +0100, Matthew Wilcox (Oracle) wrote:
> Ask the page what size it is instead of assuming it's PMD size. Do this
> for anon pages as well as file pages for when someone decides to support
> that. Leave the assumption alone for pages which are PMD mapped; we
> don't currently grow THPs beyond PMD size, so we don't need to change
> this code yet.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>

Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>

--
Kirill A. Shutemov