]> git.baikalelectronics.ru Git - kernel.git/commit
zram: support page writeback
authorMinchan Kim <minchan@kernel.org>
Tue, 15 Dec 2020 03:14:28 +0000 (19:14 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2020 20:13:47 +0000 (12:13 -0800)
commit4f6fa4c6b03ef67085334f501ebcd1f362f51e9d
tree6bd834d7f3607b69ab0ff17480e31d3ee38b8b36
parentad180e1eed1bfb832c4f71eee1c4659263f96906
zram: support page writeback

There is demand to writeback specific process pages to backing store
instead of all idles pages in the system due to storage wear out concerns
and to launching latency of apps which are most of the time idle but are
critical for resume latency.

This patch extends the writeback knob to support a specific page
writeback.

Link: https://lkml.kernel.org/r/20201020190506.3758660-1-minchan@kernel.org
Signed-off-by: Minchan Kim <minchan@kernel.org>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/admin-guide/blockdev/zram.rst
drivers/block/zram/zram_drv.c