Re: crash during oom reaper

2016-12-18 Thread Michal Hocko
On Sun 18-12-16 22:47:07, Tetsuo Handa wrote: > On 2016/12/16 22:14, Michal Hocko wrote: [...] > > I would have to rememeber all the details. This is mostly off-topic for > > this particular thread so I think it would be better if you could send a > > full patch separatelly and we can discuss it th

Re: crash during oom reaper

2016-12-18 Thread Tetsuo Handa
On 2016/12/16 22:14, Michal Hocko wrote: > On Fri 16-12-16 16:07:30, Kirill A. Shutemov wrote: >> On Fri, Dec 16, 2016 at 01:56:50PM +0100, Michal Hocko wrote: >>> On Fri 16-12-16 15:35:55, Kirill A. Shutemov wrote: On Fri, Dec 16, 2016 at 12:42:43PM +0100, Michal Hocko wrote: > On Fri 16-

Re: crash during oom reaper

2016-12-16 Thread Vegard Nossum
On 12/16/2016 03:32 PM, Michal Hocko wrote: On Fri 16-12-16 15:25:27, Vegard Nossum wrote: On 12/16/2016 03:00 PM, Michal Hocko wrote: On Fri 16-12-16 14:14:17, Vegard Nossum wrote: [...] Out of memory: Kill process 1650 (trinity-main) score 90 or sacrifice child Killed process 1724 (trinity-c

Re: crash during oom reaper

2016-12-16 Thread Michal Hocko
On Fri 16-12-16 15:25:27, Vegard Nossum wrote: > On 12/16/2016 03:00 PM, Michal Hocko wrote: > > On Fri 16-12-16 14:14:17, Vegard Nossum wrote: > > [...] > > > Out of memory: Kill process 1650 (trinity-main) score 90 or sacrifice > > > child > > > Killed process 1724 (trinity-c14) total-vm:37280kB

Re: crash during oom reaper

2016-12-16 Thread Vegard Nossum
On 12/16/2016 03:00 PM, Michal Hocko wrote: On Fri 16-12-16 14:14:17, Vegard Nossum wrote: [...] Out of memory: Kill process 1650 (trinity-main) score 90 or sacrifice child Killed process 1724 (trinity-c14) total-vm:37280kB, anon-rss:236kB, file-rss:112kB, shmem-rss:112kB BUG: unable to handle k

Re: crash during oom reaper

2016-12-16 Thread Vegard Nossum
On 12/16/2016 02:14 PM, Vegard Nossum wrote: On 12/16/2016 11:11 AM, Michal Hocko wrote: On Fri 16-12-16 10:43:52, Vegard Nossum wrote: [...] I don't think it's a bug in the OOM reaper itself, but either of the following two patches will fix the problem (without my understand how or why): Wha

Re: crash during oom reaper

2016-12-16 Thread Michal Hocko
On Fri 16-12-16 14:14:17, Vegard Nossum wrote: [...] > Out of memory: Kill process 1650 (trinity-main) score 90 or sacrifice child > Killed process 1724 (trinity-c14) total-vm:37280kB, anon-rss:236kB, > file-rss:112kB, shmem-rss:112kB > BUG: unable to handle kernel NULL pointer dereference at 0

Re: crash during oom reaper

2016-12-16 Thread Vegard Nossum
On 12/16/2016 11:11 AM, Michal Hocko wrote: On Fri 16-12-16 10:43:52, Vegard Nossum wrote: [...] I don't think it's a bug in the OOM reaper itself, but either of the following two patches will fix the problem (without my understand how or why): What is the atual crash? Annoyingly it doesn't

Re: crash during oom reaper

2016-12-16 Thread Michal Hocko
On Fri 16-12-16 16:07:30, Kirill A. Shutemov wrote: > On Fri, Dec 16, 2016 at 01:56:50PM +0100, Michal Hocko wrote: > > On Fri 16-12-16 15:35:55, Kirill A. Shutemov wrote: > > > On Fri, Dec 16, 2016 at 12:42:43PM +0100, Michal Hocko wrote: > > > > On Fri 16-12-16 13:44:38, Kirill A. Shutemov wrote:

Re: crash during oom reaper

2016-12-16 Thread Kirill A. Shutemov
On Fri, Dec 16, 2016 at 01:56:50PM +0100, Michal Hocko wrote: > On Fri 16-12-16 15:35:55, Kirill A. Shutemov wrote: > > On Fri, Dec 16, 2016 at 12:42:43PM +0100, Michal Hocko wrote: > > > On Fri 16-12-16 13:44:38, Kirill A. Shutemov wrote: > > > > On Fri, Dec 16, 2016 at 11:11:13AM +0100, Michal Ho

Re: crash during oom reaper

2016-12-16 Thread Michal Hocko
On Fri 16-12-16 15:35:55, Kirill A. Shutemov wrote: > On Fri, Dec 16, 2016 at 12:42:43PM +0100, Michal Hocko wrote: > > On Fri 16-12-16 13:44:38, Kirill A. Shutemov wrote: > > > On Fri, Dec 16, 2016 at 11:11:13AM +0100, Michal Hocko wrote: > > > > On Fri 16-12-16 10:43:52, Vegard Nossum wrote: > >

Re: crash during oom reaper

2016-12-16 Thread Kirill A. Shutemov
On Fri, Dec 16, 2016 at 12:42:43PM +0100, Michal Hocko wrote: > On Fri 16-12-16 13:44:38, Kirill A. Shutemov wrote: > > On Fri, Dec 16, 2016 at 11:11:13AM +0100, Michal Hocko wrote: > > > On Fri 16-12-16 10:43:52, Vegard Nossum wrote: > > > [...] > > > > I don't think it's a bug in the OOM reaper i

Re: crash during oom reaper

2016-12-16 Thread Michal Hocko
On Fri 16-12-16 12:42:43, Michal Hocko wrote: > On Fri 16-12-16 13:44:38, Kirill A. Shutemov wrote: > > On Fri, Dec 16, 2016 at 11:11:13AM +0100, Michal Hocko wrote: > > > On Fri 16-12-16 10:43:52, Vegard Nossum wrote: > > > [...] > > > > I don't think it's a bug in the OOM reaper itself, but eithe

Re: crash during oom reaper

2016-12-16 Thread Michal Hocko
On Fri 16-12-16 13:44:38, Kirill A. Shutemov wrote: > On Fri, Dec 16, 2016 at 11:11:13AM +0100, Michal Hocko wrote: > > On Fri 16-12-16 10:43:52, Vegard Nossum wrote: > > [...] > > > I don't think it's a bug in the OOM reaper itself, but either of the > > > following two patches will fix the proble

Re: crash during oom reaper (was: Re: [PATCH 4/4] [RFC!] mm: 'struct mm_struct' reference counting debugging)

2016-12-16 Thread Kirill A. Shutemov
On Fri, Dec 16, 2016 at 11:11:13AM +0100, Michal Hocko wrote: > On Fri 16-12-16 10:43:52, Vegard Nossum wrote: > [...] > > I don't think it's a bug in the OOM reaper itself, but either of the > > following two patches will fix the problem (without my understand how or > > why): > > > > diff --git

crash during oom reaper (was: Re: [PATCH 4/4] [RFC!] mm: 'struct mm_struct' reference counting debugging)

2016-12-16 Thread Michal Hocko
On Fri 16-12-16 10:43:52, Vegard Nossum wrote: [...] > I don't think it's a bug in the OOM reaper itself, but either of the > following two patches will fix the problem (without my understand how or > why): > > diff --git a/mm/oom_kill.c b/mm/oom_kill.c > index ec9f11d4f094..37b14b2e2af4 100644 >