memcg: remove activate_kmem_mutex
authorVladimir Davydov <vdavydov@parallels.com>
Wed, 10 Dec 2014 23:43:48 +0000 (15:43 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:07 +0000 (17:41 -0800)
commit8c0145b62ef7e9019ab39284ed88873c483c8003
treef3d6f223f04dd075b44d0e5a63848b28a8a755d1
parent7d5e324573b0ffd7098ab880c82096ca29a11f7f
memcg: remove activate_kmem_mutex

The activate_kmem_mutex is used to serialize memcg.kmem.limit updates, but
we already serialize them with memcg_limit_mutex so let's remove the
former.

Signed-off-by: Vladimir Davydov <vdavydov@parallels.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c