Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm/memcontrol.c: replace cgroup_memory_nokmem with mem_cgroup_kmem_di…
…sabled() mem_cgroup_kmem_disabled() checks whether the kmem accounting is off. Therefore, replace cgroup_memory_nokmem with mem_cgroup_kmem_disabled(), which is the same work in percpu.c and slab_common.c. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Xiang Yang <[email protected]> Reviewed-by: Muchun Song <[email protected]> Acked-by: Roman Gushchin <[email protected]> Acked-by: Souptick Joarder (HPE) <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Shakeel Butt <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
- Loading branch information