Commit e6c403fc authored by Yang Yang's avatar Yang Yang Committed by ying zuxin
Browse files

ANDROID: mm: differentiate folio origins to improve reclaim decisions



Differentiate the origin of folios (pages) in memory—whether they were
allocated through madvise hints, explicit user read calls, page faults,
or the kernel’s readahead mechanism—and leverage this classification
during memory reclaim. By tracking the source of each folio, the kernel
can make more informed eviction decisions and improve overall memory
management efficiency.

Bug: 442743231
Bug: 446126316
Change-Id: If7c275952f6336dde81d366b8b67722e5996c724
Signed-off-by: default avatarYang Yang <yang.yang@vivo.com>
(cherry picked from commit a02fd9c4)
Signed-off-by: default avatarying zuxin <11154159@vivo.com>
parent 8e4be6b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment