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@xxxxxxxxxxxxx> Acked-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx> -- Kirill A. Shutemov