Re: [PATCH v6 41/45] mm: shrinker: rename {prealloc|unregister}_memcg_shrinker() to shrinker_memcg_{alloc|remove}()

Muchun Song
2023-09-18T07:22:02Z

> On Sep 11, 2023, at 17:44, Qi Zheng <zhengqi.arch@bytedance.com> wrote:
>
> With the new shrinker APIs, there is no action such as prealloc, so rename
> {prealloc|unregister}_memcg_shrinker() to shrinker_memcg_{alloc|remove}(),
> which corresponds to the idr_{alloc|remove}() inside the function.
>
> Signed-off-by: Qi Zheng <zhengqi.arch@bytedance.com>

Reviewed-by: Muchun Song <songmuchun@bytedance.com>

Thanks.