On Tue, Feb 16, 2021 at 4:13 PM Yang Shi <[email protected]> wrote:
>
> Now nr_deferred is available on per memcg level for memcg aware shrinkers, so 
> don't need
> allocate shrinker->nr_deferred for such shrinkers anymore.
>
> The prealloc_memcg_shrinker() would return -ENOSYS if !CONFIG_MEMCG or memcg 
> is disabled
> by kernel command line, then shrinker's SHRINKER_MEMCG_AWARE flag would be 
> cleared.
> This makes the implementation of this patch simpler.
>
> Acked-by: Vlastimil Babka <[email protected]>
> Reviewed-by: Kirill Tkhai <[email protected]>
> Acked-by: Roman Gushchin <[email protected]>
> Signed-off-by: Yang Shi <[email protected]>

Reviewed-by: Shakeel Butt <[email protected]>

Reply via email to