diff options
author | Sergey Senozhatsky <senozhatsky@chromium.org> | 2025-01-15 16:19:16 +0900 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-01-25 20:22:45 -0800 |
commit | 81f804c3df8661c12ae5eaa1ae605694017c7349 (patch) | |
tree | 34b19cfcb204ab70dcef1816c1e39be8bf142baa /mm/page_alloc.c | |
parent | f752e677f85993c812fe9de7b4427f3f18408a11 (diff) |
zram: remove zcomp_stream_put() from write_incompressible_page()
We cannot and should not put per-CPU compression stream in
write_incompressible_page() because that function never gets any
per-CPU streams in the first place. It's zram_write_page() that
puts the stream before it calls write_incompressible_page().
Link: https://lkml.kernel.org/r/20250115072003.380567-1-senozhatsky@chromium.org
Fixes: 485d11509d6d ("zram: factor out ZRAM_HUGE write")
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 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions