mm: Non-pmd-mappable, large folios for folio_add_new_anon_rmap()
In preparation for LARGE_ANON_FOLIO 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. Reviewed-by:Yu Zhao <yuzhao@google.com> Reviewed-by:
Yin Fengwei <fengwei.yin@intel.com> Signed-off-by:
Ryan Roberts <ryan.roberts@arm.com>
Loading
Please register or sign in to comment