Re: [PATCH v6 41/45] mm: shrinker: rename {prealloc|unregister}_memcg_shrinker() to shrinker_memcg_{alloc|remove}()
From: Muchun Song
Date: Mon Sep 18 2023 - 03:22:02 EST
> On Sep 11, 2023, at 17:44, Qi Zheng <zhengqi.arch@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>
Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>
Thanks.