Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0f206f91 authored by Vinayak Menon's avatar Vinayak Menon
Browse files

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: default avatarVinayak Menon <vinmenon@codeaurora.org>
parent 9d17b246
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment