diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 37f345e64fda12cc85dd66307d6e3ff4ef3daf34..5a27e224d5615de38a47031026e01c718b66d426 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -3538,12 +3538,6 @@ static int memcg_activate_kmem(struct mem_cgroup *memcg,
 	if (memcg_kmem_is_active(memcg))
 		return 0;
 
-	/*
-	 * We are going to allocate memory for data shared by all memory
-	 * cgroups so let's stop accounting here.
-	 */
-	memcg_stop_kmem_account();
-
 	/*
 	 * For simplicity, we won't allow this to be disabled.  It also can't
 	 * be changed if the cgroup has children already, or if tasks had
@@ -3588,7 +3582,6 @@ static int memcg_activate_kmem(struct mem_cgroup *memcg,
 	 */
 	memcg_kmem_set_active(memcg);
 out:
-	memcg_resume_kmem_account();
 	return err;
 }