We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01b4445 commit 9c94befCopy full SHA for 9c94bef
mm/memcontrol.c
@@ -3653,7 +3653,7 @@ static int memcg_online_kmem(struct mem_cgroup *memcg)
3653
{
3654
struct obj_cgroup *objcg;
3655
3656
- if (cgroup_memory_nokmem)
+ if (mem_cgroup_kmem_disabled())
3657
return 0;
3658
3659
if (unlikely(mem_cgroup_is_root(memcg)))
@@ -3677,7 +3677,7 @@ static void memcg_offline_kmem(struct mem_cgroup *memcg)
3677
3678
struct mem_cgroup *parent;
3679
3680
3681
return;
3682
3683
0 commit comments