Commit 9b539b45 authored by Sergey Senozhatsky's avatar Sergey Senozhatsky Committed by David Stevens
Browse files

UPSTREAM: zram: remove UNDER_WB and simplify writeback

We now have only one active post-processing at any time, so we don't have
same race conditions that we had before.  If slot selected for
post-processing gets freed or freed and reallocated it loses its PP_SLOT
flag and there is no way for such a slot to gain PP_SLOT flag again until
current post-processing terminates.

Link: https://lkml.kernel.org/r/20240917021020.883356-8-senozhatsky@chromium.org


Signed-off-by: default avatarSergey Senozhatsky <senozhatsky@chromium.org>
Cc: Minchan Kim <minchan@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
(cherry picked from commit 5e998934)

Bug: 446676432
Change-Id: I43fe941e6356bc793d2b1acff012926786260aea
Signed-off-by: default avatarDavid Stevens <stevensd@google.com>
parent ae8998fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment