Re: [PATCH v2] zsmalloc: Fix races between modifications of fullness and isolated

From: Sergey Senozhatsky
Date: Thu Jul 27 2023 - 23:53:57 EST


On (23/07/27 14:29), Andrew Yang wrote:
>
> Since fullness and isolated share the same unsigned int,
> modifications of them should be protected by the same lock.
>
> Signed-off-by: Andrew Yang <andrew.yang@xxxxxxxxxxxx>
> Fixes: c4549b871102 ("zsmalloc: remove zspage isolation for migration")

Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>