Re: Please backport commit 3812c8c8f39 to stable

2014-10-08 Thread Cong Wang
On Tue, Oct 7, 2014 at 5:33 AM, Michal Hocko wrote: > On Fri 03-10-14 11:16:31, Cong Wang wrote: >> I am sorry to confuse you that it is my the above test case which caused >> this bug. No, we saw this bug in *production* in our data center, it happened >> on 30+ machines!! :) The above insane tes

Re: Please backport commit 3812c8c8f39 to stable

2014-10-07 Thread Michal Hocko
On Fri 03-10-14 11:16:31, Cong Wang wrote: > On Fri, Oct 3, 2014 at 8:37 AM, Michal Hocko wrote: > > On Thu 02-10-14 14:04:08, Cong Wang wrote: > >> Hello again, > >> > >> I realized it is a series of patch actually: > >> > >> 3812c8c8f3953921ef18544110dafc3505c1ac62 mm: memcg: do not trap > >> ch

Re: Please backport commit 3812c8c8f39 to stable

2014-10-07 Thread Michal Hocko
On Fri 03-10-14 11:03:30, Cong Wang wrote: > On Fri, Oct 3, 2014 at 8:13 AM, Michal Hocko wrote: > > > > That commit fixes an OOM deadlock. Not a soft lockup. Do you have the > > OOM killer report from the log? This would tell us that the killed task > > was indeed sleeping on the lock which is ho

Re: Please backport commit 3812c8c8f39 to stable

2014-10-03 Thread Cong Wang
On Fri, Oct 3, 2014 at 11:16 AM, Cong Wang wrote: > > Why not? OOM killer tries to kill a process sleeping on a mutex it already > holds, why not a deadlock? Given the fact that both are lots of inode mutex > hung because of OOM, I am 90% sure they are the same. > I backported these patches to 3.

Re: Please backport commit 3812c8c8f39 to stable

2014-10-03 Thread Cong Wang
On Fri, Oct 3, 2014 at 8:37 AM, Michal Hocko wrote: > On Thu 02-10-14 14:04:08, Cong Wang wrote: >> Hello again, >> >> I realized it is a series of patch actually: >> >> 3812c8c8f3953921ef18544110dafc3505c1ac62 mm: memcg: do not trap >> chargers with full callstack on OOM >> fb2a6fc56be66c169f8b80

Re: Please backport commit 3812c8c8f39 to stable

2014-10-03 Thread Cong Wang
On Fri, Oct 3, 2014 at 8:13 AM, Michal Hocko wrote: > > That commit fixes an OOM deadlock. Not a soft lockup. Do you have the > OOM killer report from the log? This would tell us that the killed task > was indeed sleeping on the lock which is hold by the charger which > triggered the OOM. I am lit

Re: Please backport commit 3812c8c8f39 to stable

2014-10-03 Thread Michal Hocko
On Thu 02-10-14 14:04:08, Cong Wang wrote: > Hello again, > > I realized it is a series of patch actually: > > 3812c8c8f3953921ef18544110dafc3505c1ac62 mm: memcg: do not trap > chargers with full callstack on OOM > fb2a6fc56be66c169f8b80e07ed999ba453a2db2 mm: memcg: rework and > document OOM wait

Re: Please backport commit 3812c8c8f39 to stable

2014-10-03 Thread Michal Hocko
On Tue 30-09-14 10:14:08, Cong Wang wrote: > On Tue, Sep 30, 2014 at 1:16 AM, Michal Hocko wrote: > > On Mon 29-09-14 20:43:46, Cong Wang wrote: > >> Hi, Johannes and Greg > >> > >> > >> Please consider to backport the following commit to stable kernels < 3.12. > >> > >> commit 3812c8c8f3953921ef1

Re: Please backport commit 3812c8c8f39 to stable

2014-10-02 Thread Cong Wang
Hello again, I realized it is a series of patch actually: 3812c8c8f3953921ef18544110dafc3505c1ac62 mm: memcg: do not trap chargers with full callstack on OOM fb2a6fc56be66c169f8b80e07ed999ba453a2db2 mm: memcg: rework and document OOM waiting and wakeup 519e52473ebe9db5cdef44670d5a97f1fd53d721 mm:

Re: Please backport commit 3812c8c8f39 to stable

2014-09-30 Thread Cong Wang
On Tue, Sep 30, 2014 at 1:16 AM, Michal Hocko wrote: > On Mon 29-09-14 20:43:46, Cong Wang wrote: >> Hi, Johannes and Greg >> >> >> Please consider to backport the following commit to stable kernels < 3.12. >> >> commit 3812c8c8f3953921ef18544110dafc3505c1ac62 >> Author: Johannes Weiner >> Date:

Re: Please backport commit 3812c8c8f39 to stable

2014-09-30 Thread Michal Hocko
On Mon 29-09-14 20:43:46, Cong Wang wrote: > Hi, Johannes and Greg > > > Please consider to backport the following commit to stable kernels < 3.12. > > commit 3812c8c8f3953921ef18544110dafc3505c1ac62 > Author: Johannes Weiner > Date: Thu Sep 12 15:13:44 2013 -0700 > > mm: memcg: do not t

Please backport commit 3812c8c8f39 to stable

2014-09-29 Thread Cong Wang
Hi, Johannes and Greg Please consider to backport the following commit to stable kernels < 3.12. commit 3812c8c8f3953921ef18544110dafc3505c1ac62 Author: Johannes Weiner Date: Thu Sep 12 15:13:44 2013 -0700 mm: memcg: do not trap chargers with full callstack on OOM It should solve some s