lkml.org 
[lkml]   [2020]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v3 14/19] mm: memcg/slab: deprecate memcg_kmem_get_cache()
    From
    Date
    "deprecate" means it still exist but shouldn't get new callers, no?
    maybe just "remove" or "inline ... into its caller"

    On 4/22/20 10:47 PM, Roman Gushchin wrote:
    > The memcg_kmem_get_cache() function became really trivial, so
    > let's just inline it into the single call point:
    > memcg_slab_pre_alloc_hook().
    >
    > It will make the code less bulky and can also help the compiler
    > to generate a better code.
    >
    > Signed-off-by: Roman Gushchin <guro@fb.com>

    Reviewed-by: Vlastimil Babka <vbabka@suse.cz>

    \
     
     \ /
      Last update: 2020-05-26 12:34    [W:3.399 / U:0.532 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site