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

SeongJae Park
2020-09-15T07:28:19Z

On Tue, 8 Sep 2020 20:55:35 +0100 "Matthew Wilcox (Oracle)" <willy@infradead.org> 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>

Reviewed-by: SeongJae Park <sjpark@amazon.de>

Thanks,
SeongJae Park