diff options
| author | Vinayak Menon <vinmenon@codeaurora.org> | 2015-12-21 13:00:58 +0530 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 21:19:04 -0700 |
| commit | ad6f4862845c0d6462a9ad7ba2d2e67132449eb1 (patch) | |
| tree | 8e86c13fc0d0e0a5badda10a4012123795ad4394 /mm/Makefile | |
| parent | 1506b57673ab9393f54d584c9a1144f5152fa18f (diff) | |
mm: swap: swap ratio support
Add support to receive a static ratio from userspace to
divide the swap pages between ZRAM and disk based swap
devices. The existing infrastructure allows to keep
same priority for multiple swap devices, which results
in round robin distribution of pages. With this patch,
the ratio can be defined.
CRs-fixed: 968416
Change-Id: I54f54489db84cabb206569dd62d61a8a7a898991
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Diffstat (limited to 'mm/Makefile')
| -rw-r--r-- | mm/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/Makefile b/mm/Makefile index 523d7679d205..11a79895a04f 100644 --- a/mm/Makefile +++ b/mm/Makefile @@ -37,7 +37,7 @@ ifdef CONFIG_MMU endif obj-$(CONFIG_HAVE_MEMBLOCK) += memblock.o -obj-$(CONFIG_SWAP) += page_io.o swap_state.o swapfile.o +obj-$(CONFIG_SWAP) += page_io.o swap_state.o swapfile.o swap_ratio.o obj-$(CONFIG_FRONTSWAP) += frontswap.o obj-$(CONFIG_ZSWAP) += zswap.o obj-$(CONFIG_ZCACHE) += zcache.o |
