lkml.org 
[lkml]   [2020]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v6 16/19] mm: memcg/slab: remove redundant check in memcg_accumulate_slabinfo()
    On Mon, Jun 8, 2020 at 4:07 PM Roman Gushchin <guro@fb.com> 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 <guro@fb.com>
    > Reviewed-by: Vlastimil Babka <vbabka@suse.cz>

    Reviewed-by: Shakeel Butt <shakeelb@google.com>

    \
     
     \ /
      Last update: 2020-06-22 19:33    [W:4.022 / U:1.932 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site