commit | f95681e10dc66a0118465c21f2292881a828a219 | [log] [tgz] |
---|---|---|
author | Vinayak Menon <vinmenon@codeaurora.org> | Fri Nov 20 13:37:08 2015 +0530 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 20:16:41 2020 +0200 |
tree | 8eda95716d81c9c308dcdcebd0238a46879c8b7e | |
parent | c1126224f45d013fe5116ced0699fbbf67f9e9fb [diff] |
mm: swap: fix swapcache usage for fast swap devices 1) The swap readahead algorithm need not be applied for fast swap devices like zram. 2) Code to set SWP_FAST is placed incorrectly, resulting in the flag not being set. Fix these to reduce the swapcache usage. Change-Id: I23d9af5819f4b25f90f14a12657fa19ed401fb2a Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org> Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>