diff options
author | 2024-09-17 11:09:10 +0900 | |
---|---|---|
committer | 2024-11-05 16:56:22 -0800 | |
commit | b967fa1ba72b5da2b6d9bf95f0b13420a59e0701 (patch) | |
tree | e5d3d227ce673ff87464b1639dbad25230a86ca5 /kernel/fork.c | |
parent | zram: rework writeback target selection strategy (diff) | |
download | wireguard-linux-b967fa1ba72b5da2b6d9bf95f0b13420a59e0701.tar.xz wireguard-linux-b967fa1ba72b5da2b6d9bf95f0b13420a59e0701.zip |
zram: do not mark idle slots that cannot be idle
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>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions