commit | c1c6a99617769e3fc41b3de81571d12edc4aefc5 | [log] [tgz] |
---|---|---|
author | Vinayak Menon <vinmenon@codeaurora.org> | Mon Dec 21 13:00:58 2015 +0530 |
committer | Vinayak Menon <vinmenon@codeaurora.org> | Thu Jul 20 11:14:45 2017 +0530 |
tree | 9080f21b11a72af8edfbd438204f709874eb575a | |
parent | ee081c23051b36093a02241f8a2db86bf333665c [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. Change-Id: I54f54489db84cabb206569dd62d61a8a7a898991 Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>