Skip to content

Commit

Permalink
real slab_equal_or_root check for !MEMCG_KMEM
Browse files Browse the repository at this point in the history
Signed-off-by: khusika <khusikadhamar@gmail.com>
  • Loading branch information
thestinger authored and khusika committed Aug 28, 2018
1 parent db484e9 commit 7b0d433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/slab.h
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ static inline bool is_root_cache(struct kmem_cache *s)
static inline bool slab_equal_or_root(struct kmem_cache *s,
struct kmem_cache *p)
{
return true;
return p == s;
}

static inline const char *cache_name(struct kmem_cache *s)
Expand Down

0 comments on commit 7b0d433

Please sign in to comment.