Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-23 Thread Suzuki K. Poulose
On 22/01/15 13:45, Johannes Weiner wrote: On Wed, Jan 21, 2015 at 04:39:55PM +, Will Deacon wrote: On Mon, Jan 19, 2015 at 12:51:27PM +, Suzuki K. Poulose wrote: On 10/01/15 08:55, Vladimir Davydov wrote: The problem is that the memory cgroup controller takes a css reference per each

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-23 Thread Suzuki K. Poulose
On 22/01/15 13:45, Johannes Weiner wrote: On Wed, Jan 21, 2015 at 04:39:55PM +, Will Deacon wrote: On Mon, Jan 19, 2015 at 12:51:27PM +, Suzuki K. Poulose wrote: On 10/01/15 08:55, Vladimir Davydov wrote: The problem is that the memory cgroup controller takes a css reference per each

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-22 Thread Tejun Heo
On Thu, Jan 22, 2015 at 10:19:43AM -0500, Johannes Weiner wrote: > From 3d7ae5aeb16ce6118d8bff17194e791339a1f06c Mon Sep 17 00:00:00 2001 > From: Johannes Weiner > Date: Thu, 22 Jan 2015 08:16:31 -0500 > Subject: [patch] kernel: cgroup: prevent mount hang due to memory controller > lifetime > >

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-22 Thread Johannes Weiner
Hi, On Thu, Jan 22, 2015 at 09:34:54AM -0500, Tejun Heo wrote: > On Thu, Jan 22, 2015 at 08:45:50AM -0500, Johannes Weiner wrote: > > diff --git a/kernel/cgroup.c b/kernel/cgroup.c > > index bb263d0caab3..9a09308c8066 100644 > > --- a/kernel/cgroup.c > > +++ b/kernel/cgroup.c > > @@ -1819,8

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-22 Thread Tejun Heo
Hello, On Thu, Jan 22, 2015 at 08:45:50AM -0500, Johannes Weiner wrote: > diff --git a/kernel/cgroup.c b/kernel/cgroup.c > index bb263d0caab3..9a09308c8066 100644 > --- a/kernel/cgroup.c > +++ b/kernel/cgroup.c > @@ -1819,8 +1819,11 @@ static struct dentry *cgroup_mount(struct > file_system_type

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-22 Thread Johannes Weiner
On Wed, Jan 21, 2015 at 04:39:55PM +, Will Deacon wrote: > On Mon, Jan 19, 2015 at 12:51:27PM +, Suzuki K. Poulose wrote: > > On 10/01/15 08:55, Vladimir Davydov wrote: > > > The problem is that the memory cgroup controller takes a css reference > > > per each charged page and does not

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-22 Thread Johannes Weiner
On Wed, Jan 21, 2015 at 04:39:55PM +, Will Deacon wrote: On Mon, Jan 19, 2015 at 12:51:27PM +, Suzuki K. Poulose wrote: On 10/01/15 08:55, Vladimir Davydov wrote: The problem is that the memory cgroup controller takes a css reference per each charged page and does not reparent

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-22 Thread Tejun Heo
On Thu, Jan 22, 2015 at 10:19:43AM -0500, Johannes Weiner wrote: From 3d7ae5aeb16ce6118d8bff17194e791339a1f06c Mon Sep 17 00:00:00 2001 From: Johannes Weiner han...@cmpxchg.org Date: Thu, 22 Jan 2015 08:16:31 -0500 Subject: [patch] kernel: cgroup: prevent mount hang due to memory controller

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-22 Thread Tejun Heo
Hello, On Thu, Jan 22, 2015 at 08:45:50AM -0500, Johannes Weiner wrote: diff --git a/kernel/cgroup.c b/kernel/cgroup.c index bb263d0caab3..9a09308c8066 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -1819,8 +1819,11 @@ static struct dentry *cgroup_mount(struct file_system_type

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-22 Thread Johannes Weiner
Hi, On Thu, Jan 22, 2015 at 09:34:54AM -0500, Tejun Heo wrote: On Thu, Jan 22, 2015 at 08:45:50AM -0500, Johannes Weiner wrote: diff --git a/kernel/cgroup.c b/kernel/cgroup.c index bb263d0caab3..9a09308c8066 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -1819,8 +1819,11 @@

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-21 Thread Will Deacon
On Mon, Jan 19, 2015 at 12:51:27PM +, Suzuki K. Poulose wrote: > On 10/01/15 08:55, Vladimir Davydov wrote: > > The problem is that the memory cgroup controller takes a css reference > > per each charged page and does not reparent charged pages on css > > offline, while

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-21 Thread Will Deacon
On Mon, Jan 19, 2015 at 12:51:27PM +, Suzuki K. Poulose wrote: On 10/01/15 08:55, Vladimir Davydov wrote: The problem is that the memory cgroup controller takes a css reference per each charged page and does not reparent charged pages on css offline, while cgroup_mount/cgroup_kill_sb

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-19 Thread Suzuki K. Poulose
On 10/01/15 08:55, Vladimir Davydov wrote: On Fri, Jan 09, 2015 at 05:43:17PM +, Suzuki K. Poulose wrote: Hi We have hit a hang on ARM64 defconfig, while running LTP tests on 3.19-rc3. We are in the process of a git bisect and will update the results as and when we find the commit. During

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-19 Thread Suzuki K. Poulose
On 10/01/15 08:55, Vladimir Davydov wrote: On Fri, Jan 09, 2015 at 05:43:17PM +, Suzuki K. Poulose wrote: Hi We have hit a hang on ARM64 defconfig, while running LTP tests on 3.19-rc3. We are in the process of a git bisect and will update the results as and when we find the commit. During

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-12 Thread Suzuki K. Poulose
On Fri, Jan 09, 2015 at 09:46:49PM +, Tejun Heo wrote: > On Fri, Jan 09, 2015 at 05:43:17PM +, Suzuki K. Poulose wrote: > > We have hit a hang on ARM64 defconfig, while running LTP tests on 3.19-rc3. > > We are > > in the process of a git bisect and will update the results as and > > when

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-12 Thread Suzuki K. Poulose
On Fri, Jan 09, 2015 at 09:46:49PM +, Tejun Heo wrote: On Fri, Jan 09, 2015 at 05:43:17PM +, Suzuki K. Poulose wrote: We have hit a hang on ARM64 defconfig, while running LTP tests on 3.19-rc3. We are in the process of a git bisect and will update the results as and when we find

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-10 Thread Vladimir Davydov
On Fri, Jan 09, 2015 at 05:43:17PM +, Suzuki K. Poulose wrote: > Hi > > We have hit a hang on ARM64 defconfig, while running LTP tests on > 3.19-rc3. We are > in the process of a git bisect and will update the results as and > when we find the commit. > > During the ksm ltp run, the test

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-10 Thread Vladimir Davydov
On Fri, Jan 09, 2015 at 05:43:17PM +, Suzuki K. Poulose wrote: Hi We have hit a hang on ARM64 defconfig, while running LTP tests on 3.19-rc3. We are in the process of a git bisect and will update the results as and when we find the commit. During the ksm ltp run, the test hangs

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-09 Thread Tejun Heo
On Fri, Jan 09, 2015 at 05:43:17PM +, Suzuki K. Poulose wrote: > We have hit a hang on ARM64 defconfig, while running LTP tests on 3.19-rc3. > We are > in the process of a git bisect and will update the results as and > when we find the commit. > > During the ksm ltp run, the test hangs

Re: [Regression] 3.19-rc3 : memcg: Hang in mount memcg

2015-01-09 Thread Tejun Heo
On Fri, Jan 09, 2015 at 05:43:17PM +, Suzuki K. Poulose wrote: We have hit a hang on ARM64 defconfig, while running LTP tests on 3.19-rc3. We are in the process of a git bisect and will update the results as and when we find the commit. During the ksm ltp run, the test hangs trying to