diff options
| author | Vinayak Menon <vinmenon@codeaurora.org> | 2015-11-20 13:37:08 +0530 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:13:01 -0700 |
| commit | 588411ea51f10d2497c20c07c263649468a741f7 (patch) | |
| tree | 4cd6bba549b6a7ec02ff3e7f93825cc4ea43c74e /include/linux | |
| parent | 6d7af116f255a99077867c16c5faa5c013936197 (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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
