Commit b9d18126 authored by jianhua hao's avatar jianhua hao Committed by Lee Jones
Browse files

ANDROID: mm: export __pte_offset_map/unuse_swap_pte/read_swap_cache_async



Export __pte_offset_map facilitate retrieving the corresponding PTE using PMD and an address.
Add and export unuse_swap_pte to facilitate releasing the PTE resources corresponding to pages preloaded via swapin.
Export read_swap_cache_async to facilitate asynchronously reading pages from the swap partition using PTE-prefetch scanning.

Bug: 415852480
Bug: 417078093

Change-Id: Ie200656ec97b087936ca98c06b0a370f547d5d0a
Signed-off-by: default avatarjianhua hao <haojianhua1@xiaomi.com>
(cherry picked from commit 88cb3505)
parent 73f2704d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment