Skip to content
Commit 759782c5 authored by Ryan Roberts's avatar Ryan Roberts
Browse files

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: default avatarYu Zhao <yuzhao@google.com>
Reviewed-by: default avatarYin Fengwei <fengwei.yin@intel.com>
Signed-off-by: Ryan Roberts's avatarRyan Roberts <ryan.roberts@arm.com>
parent 7c40b19b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment