On 15 May 2020, at 9:16, Matthew Wilcox wrote: > From: "Matthew Wilcox (Oracle)" > > Remove the assumption in hpage_nr_pages() that compound pages are > necessarily PMD sized. Move the relevant parts of mm.h to before the > include of huge_mm.h so we can use an inline function rather than a macro. > > Signed-off-by: Matthew Wilcox (Oracle) > --- > include/linux/huge_mm.h | 5 +-- > include/linux/mm.h | 96 ++++++++++++++++++++--------------------- > 2 files changed, 50 insertions(+), 51 deletions(-) > Glad to see this change. Thanks. Reviewed-by: Zi Yan — Best Regards, Yan Zi