On 14/07/2023 17:52, Yu Zhao wrote: > On Fri, Jul 14, 2023 at 10:17 AM Ryan Roberts <ryan.roberts@xxxxxxx> 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@xxxxxxx> >> Reviewed-by: Yu Zhao <yuzhao@xxxxxxxxxx> >> Reviewed-by: Yin Fengwei <fengwei.yin@xxxxxxxxx> > > 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. Will do. Hoping to get the "batch zap" series out on Monday. Others need a bit more time to bake as they will need to be aligned to the changes from the review of this series first.