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

Zi Yan
2020-05-28T14:19:10Z

[-- Attachment #1: Type: text/plain, Size: 678 bytes --]

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

> From: "Matthew Wilcox (Oracle)" <willy@infradead.org>
>
> 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@infradead.org>
> ---
> 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@nvidia.com>

—
Best Regards,
Yan Zi

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 854 bytes --]