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:
Sooyong Suk <s.suk@samsung.corp-partner.google.com>
Loading