On Mon, Jun 8, 2020 at 4:07 PM Roman Gushchin <[email protected]> wrote:
>
> memcg_accumulate_slabinfo() is never called with a non-root
> kmem_cache as a first argument, so the is_root_cache(s) check
> is redundant and can be removed without any functional change.
>
> Signed-off-by: Roman Gushchin <[email protected]>
> Reviewed-by: Vlastimil Babka <[email protected]>

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

Reply via email to