Commit 93d0fbab authored by Hailong Liu's avatar Hailong Liu
Browse files

ANDROID: mm/readahead: add for bypass high order allocation



EROFS supports large folios on kernel-6.12 which enable high order
allocation with direct_reclaim flags. This might increase the latency
on UX task with filemap_fault(). Add a vendor hook here to bypass
unnecessary allocation in certain scenarios.

Bug: 430753566
Bug: 432155216
Change-Id: I0f11b059a06d1e839aed51dc9b41f1a312eec048
Signed-off-by: default avatarHailong Liu <hailong.liu@oppo.com>
(cherry picked from commit 6222007a)
parent c540139a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment