[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181116072035.155108-1-minchan@kernel.org>
Date: Fri, 16 Nov 2018 16:20:29 +0900
From: Minchan Kim <minchan@...nel.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>,
Minchan Kim <minchan@...nel.org>
Subject: [PATCH 0/6] zram idle page writeback
Inherently, swap device has many idle pages which are rare touched since
it was allocated. It is never problem if we use storage device as swap.
However, it's just waste for zram-swap.
This patchset supports zram idle page writeback feature.
* Admin can define what is idle page "no access since X time ago"
* Admin can define when zram should writeback them
* Admin can define when zram should stop writeback to prevent wearout
Detail is on each patch's description.
Minchan Kim (6):
zram: fix lockdep warning of free block handling
zram: refactoring flags and writeback stuff
zram: introduce ZRAM_IDLE flag
zram: support idle page writeback
zram: add bd_stat statistics
zram: writeback throttle
Documentation/ABI/testing/sysfs-block-zram | 32 ++
Documentation/blockdev/zram.txt | 42 +-
drivers/block/zram/Kconfig | 5 +-
drivers/block/zram/zram_drv.c | 435 +++++++++++++++++----
drivers/block/zram/zram_drv.h | 18 +-
5 files changed, 438 insertions(+), 94 deletions(-)
--
2.19.1.1215.g8438c0b245-goog
Powered by blists - more mailing lists