Commit 0a7833fa authored by Sooyong Suk's avatar Sooyong Suk Committed by Treehugger Robot
Browse files

ANDROID: mm: add vendor hook to adjust nr_reclaimed



With asynchronous swap device, pages requested for swap-out are not
considered as reclaimed. So if the system can only reclaim anonymous
pages due to low file pages, direct reclaim context can operate more
than necessary. To prevent this, add a vendor hook to count those
pages as nr_reclaimed.

Bug: 453520014
Change-Id: Ied9a47085023a521fa0a51b689d75b0dfa019295
Signed-off-by: default avatarSooyong Suk <s.suk@samsung.corp-partner.google.com>
parent fff065e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment