Re: [PATCH v5 37/45] zsmalloc: dynamically allocate the mm-zspool shrinker

From: Sergey Senozhatsky
Date: Thu Aug 24 2023 - 00:39:24 EST


On (23/08/24 11:42), Qi Zheng wrote:
> In preparation for implementing lockless slab shrink, use new APIs to
> dynamically allocate the mm-zspool shrinker, so that it can be freed
> asynchronously via RCU. Then it doesn't need to wait for RCU read-side
> critical section when releasing the struct zs_pool.
>
> Signed-off-by: Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx>
> Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
> CC: Minchan Kim <minchan@xxxxxxxxxx>
> CC: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>

Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>