]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit0d8359620d9be9823b6b9b3cf2dbe006cbfec594
tree6bd834d7f3607b69ab0ff17480e31d3ee38b8b36
parent95c9ae14a9b99a65956de80a1eefafcb901c0e9f
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