Commit c06b1f4b authored by hailong's avatar hailong Committed by Treehugger Robot
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
Change-Id: I1c64dfebf5f9fc3766279c84b9b26fbb89a0997a
Signed-off-by: default avatarhailong <hailong.liu@oppo.com>
parent 6bae5d45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment