[PATCH v3 1/4] mm: Non-pmd-mappable, large folios for folio_add_new_anon_rmap()

Yu Zhao yuzhao at google.com
Fri Jul 14 09:52:01 PDT 2023


On Fri, Jul 14, 2023 at 10:17 AM Ryan Roberts <ryan.roberts at arm.com> wrote:
>
> In preparation for FLEXIBLE_THP support, improve
> folio_add_new_anon_rmap() to allow a non-pmd-mappable, large folio to be
> passed to it. In this case, all contained pages are accounted using the
> order-0 folio (or base page) scheme.
>
> Signed-off-by: Ryan Roberts <ryan.roberts at arm.com>
> Reviewed-by: Yu Zhao <yuzhao at google.com>
> Reviewed-by: Yin Fengwei <fengwei.yin at intel.com>

This patch doesn't depend on the rest of the series and therefore can
be merged separately in case the rest needs more discussion.

Ryan, please feel free to post other code paths (those from v1) you've
optimized for large anon folios at any time, since each code path can
be reviewed and merged individually as well.



More information about the linux-arm-kernel mailing list