Re: [PATCH v4 03/36] mm: Allow hpages to be arbitrary order

From: Zi Yan
Date: Thu May 28 2020 - 10:19:18 EST


On 15 May 2020, at 9:16, Matthew Wilcox wrote:

> From: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx>
>
> 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) <willy@xxxxxxxxxxxxx>
> ---
> 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 <ziy@xxxxxxxxxx>

â
Best Regards,
Yan Zi

Attachment: signature.asc
Description: OpenPGP digital signature