Re: [PATCH -mm] memcg: remove activate_kmem_mutex

2014-10-21 Thread Michal Hocko
On Tue 21-10-14 10:31:19, Vladimir Davydov wrote: > On Mon, Oct 20, 2014 at 08:53:06PM +0200, Michal Hocko wrote: > > On Mon 20-10-14 19:11:29, Vladimir Davydov wrote: > > > The activate_kmem_mutex is used to serialize memcg.kmem.limit updates, > > > but we already serialize them with

Re: [PATCH -mm] memcg: remove activate_kmem_mutex

2014-10-21 Thread Vladimir Davydov
On Mon, Oct 20, 2014 at 08:53:06PM +0200, Michal Hocko wrote: > On Mon 20-10-14 19:11:29, Vladimir Davydov wrote: > > 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. > > > >

Re: [PATCH -mm] memcg: remove activate_kmem_mutex

2014-10-21 Thread Vladimir Davydov
On Mon, Oct 20, 2014 at 08:53:06PM +0200, Michal Hocko wrote: On Mon 20-10-14 19:11:29, Vladimir Davydov wrote: 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:

Re: [PATCH -mm] memcg: remove activate_kmem_mutex

2014-10-21 Thread Michal Hocko
On Tue 21-10-14 10:31:19, Vladimir Davydov wrote: On Mon, Oct 20, 2014 at 08:53:06PM +0200, Michal Hocko wrote: On Mon 20-10-14 19:11:29, Vladimir Davydov wrote: The activate_kmem_mutex is used to serialize memcg.kmem.limit updates, but we already serialize them with memcg_limit_mutex so

Re: [PATCH -mm] memcg: remove activate_kmem_mutex

2014-10-20 Thread Michal Hocko
On Mon 20-10-14 19:11:29, Vladimir Davydov wrote: > 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 Is this the case since bd67314586a3 (memcg, slab:

Re: [PATCH -mm] memcg: remove activate_kmem_mutex

2014-10-20 Thread Johannes Weiner
On Mon, Oct 20, 2014 at 07:11:29PM +0400, Vladimir Davydov wrote: > 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 It hid well behind this obscure

[PATCH -mm] memcg: remove activate_kmem_mutex

2014-10-20 Thread Vladimir Davydov
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 --- mm/memcontrol.c | 24 +--- 1 file changed, 5 insertions(+), 19 deletions(-) diff

[PATCH -mm] memcg: remove activate_kmem_mutex

2014-10-20 Thread Vladimir Davydov
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 vdavy...@parallels.com --- mm/memcontrol.c | 24 +--- 1 file changed, 5 insertions(+), 19

Re: [PATCH -mm] memcg: remove activate_kmem_mutex

2014-10-20 Thread Johannes Weiner
On Mon, Oct 20, 2014 at 07:11:29PM +0400, Vladimir Davydov wrote: 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 vdavy...@parallels.com It hid well behind

Re: [PATCH -mm] memcg: remove activate_kmem_mutex

2014-10-20 Thread Michal Hocko
On Mon 20-10-14 19:11:29, Vladimir Davydov wrote: 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 vdavy...@parallels.com Is this the case since