ANDROID: mm: export vm_normal_folio_pmd to allow vendors to implement simplified smaps

The current process smaps operation is time-consuming. Exporting the
vm_normal_folio_pmd function enables vendors to provide a more efficient and simplified version of smaps.

Bug: 427633539
Change-Id: I7710f5d1656a9f7a4ae883aefc93135c93e637b5
Signed-off-by: yipeng xiang <yipengxiang@honor.corp-partner.google.com>
This commit is contained in:
yipeng xiang
2025-06-26 11:19:45 +08:00
committed by Treehugger Robot
parent 5b1c4cc086
commit 949ed5baba

View File

@@ -713,6 +713,7 @@ struct folio *vm_normal_folio_pmd(struct vm_area_struct *vma,
return page_folio(page);
return NULL;
}
EXPORT_SYMBOL_GPL(vm_normal_folio_pmd);
#endif
static void restore_exclusive_pte(struct vm_area_struct *vma,