lkml.org 
[lkml]   [2012]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 3/3] slab: Get rid of mem_cgroup_put_kmem_cache()
    The function is no longer used, so can be safely removed.

    Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
    ---
    include/linux/slab_def.h | 11 -----------
    1 file changed, 11 deletions(-)

    diff --git a/include/linux/slab_def.h b/include/linux/slab_def.h
    index 2d371ae..72ea626 100644
    --- a/include/linux/slab_def.h
    +++ b/include/linux/slab_def.h
    @@ -232,12 +232,6 @@ kmem_cache_get_ref(struct kmem_cache *cachep)
    }

    static inline void
    -mem_cgroup_put_kmem_cache(struct kmem_cache *cachep)
    -{
    - rcu_read_unlock();
    -}
    -
    -static inline void
    mem_cgroup_kmem_cache_prepare_sleep(struct kmem_cache *cachep)
    {
    /*
    @@ -266,11 +260,6 @@ kmem_cache_drop_ref(struct kmem_cache *cachep)
    }

    static inline void
    -mem_cgroup_put_kmem_cache(struct kmem_cache *cachep)
    -{
    -}
    -
    -static inline void
    mem_cgroup_kmem_cache_prepare_sleep(struct kmem_cache *cachep)
    {
    }
    --
    1.7.9.2

    \
     
     \ /
      Last update: 2012-04-30 12:41    [W:0.061 / U:0.184 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site