CHROMIUM: mm: Allow file page scanning when swapping is disabled.

When the system is entering suspension, swapping is disabled by
pm_restrict_gfp_mask(), min_filelist_kbytes should not restrict file
page scanning in this case.

BUG=b:74388883
TEST=manual test

Change-Id: I9547109ca7932c53ed684e6d00e1237676b6ae88
Signed-off-by: Kuo-Hsin Yang <vovoy@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/966049
Commit-Ready: Vovo Yang <vovoy@chromium.org>
Tested-by: Vovo Yang <vovoy@chromium.org>
Reviewed-by: Sonny Rao <sonnyrao@chromium.org>
(cherry picked from commit 9d4d4fea80b4b68a73d14ece1d9166914a130c65)
Reviewed-on: https://chromium-review.googlesource.com/1018622
Reviewed-by: Chung-yih Wang <cywang@chromium.org>
1 file changed