Commit f9d06fba authored by hailong's avatar hailong Committed by Hailong Liu
Browse files

ANDROID: mm: mglru: add vendor_hook for should_abort_scan()

Add android_vh_mglru_should_abort_scan_ex() the hook is
similar to android_vh_mglru_should_abort_scan() introduced in
https://android-review.googlesource.com/c/kernel/common/+/3452054


but accepts a vendor data field to store the statistics of reclaim.

Bug: 365008739
Bug: 449066551
Bug: 451083029
Change-Id: I1c64dfebf5f9fc3766279c84b9b26fbb89a0997a
Signed-off-by: default avatarhailong <hailong.liu@oppo.com>
(cherry picked from commit c06b1f4b)
parent 9e8a1bb6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment