summaryrefslogtreecommitdiff
path: root/kernel/time
diff options
context:
space:
mode:
authorSergey Senozhatsky <senozhatsky@chromium.org>2024-09-17 11:09:10 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-14 20:03:11 +0100
commit4e51552bc5d8e976d695ab79c3d7917da93b5b63 (patch)
tree98ef036c5287606320a5a84d9cb4f14a49300084 /kernel/time
parent42311846d3580f4584d216819e849c27f98456aa (diff)
downloadlinux-4e51552bc5d8e976d695ab79c3d7917da93b5b63.tar.gz
linux-4e51552bc5d8e976d695ab79c3d7917da93b5b63.tar.bz2
linux-4e51552bc5d8e976d695ab79c3d7917da93b5b63.zip
zram: do not mark idle slots that cannot be idle
[ Upstream commit b967fa1ba72b5da2b6d9bf95f0b13420a59e0701 ] ZRAM_SAME slots cannot be post-processed (writeback or recompress) so do not mark them ZRAM_IDLE. Same with ZRAM_WB slots, they cannot be ZRAM_IDLE because they are not in zsmalloc pool anymore. Link: https://lkml.kernel.org/r/20240917021020.883356-6-senozhatsky@chromium.org Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org> Cc: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Stable-dep-of: d37da422edb0 ("zram: clear IDLE flag in mark_idle()") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/time')
0 files changed, 0 insertions, 0 deletions