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

Sergey Senozhatsky senozhatsky at chromium.org
Thu Jul 27 20:53:36 PDT 2023


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 at mediatek.com>
> Fixes: c4549b871102 ("zsmalloc: remove zspage isolation for migration")

Reviewed-by: Sergey Senozhatsky <senozhatsky at chromium.org>



More information about the Linux-mediatek mailing list