Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1236435
| From | Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH -mm 1/3] mm/oom_kill: remove the wrongfatal_signal_pending() |
| Date | 2015-09-30 17:30 +0200 |
| Message-ID | <qeruq-w4-9@gated-at.bofh.it> (permalink) |
| References | <qe44N-D4-1@gated-at.bofh.it> <qebIZ-344-11@gated-at.bofh.it> <qeeGS-7gJ-1@gated-at.bofh.it> <qeq5k-6MN-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Oleg Nesterov wrote: > > This fatal_signal_pending() check is about to be added by me because the OOM > > killer spams the kernel log when the mm struct which the OOM victim is using > > is shared by many threads. ( http://marc.info/?l=linux-mm&m=143256441501204 ) > > OK, I see, but it is wrong. > > But I don't really understand "shared by many threads", I mean "threads" is > confusing word. I guess you mean CLONE_VM processes, otherwise we shouldn't > see the additional spam. Right. > > And 1000 CLONE_VM processes + "and the lock dependency prevents all threads > except the OOM victim thread from terminating until they get TIF_MEMDIE flag" > look like a really pathological case... Right. But I saw that http://lkml.kernel.org/r/201509271451.DEB86404.tMFFHSVQFOLOOJ@I-love.SAKURA.ne.jp took 3 minites to kill one mm struct because dump_header() was called for many times. > > I was waiting for your comment about whether you depend on > > the "sharing same memory" message with KERN_ERR level. > > ( http://marc.info/?l=linux-mm&m=144120389203133 ) > > > > If nobody else objects, I think we can remove the "sharing same memory" > > message. ( http://marc.info/?l=linux-mm&m=144119325831959 ) > > OK, will you agree with v2 which also removes pr_warn? Yes. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH -mm 1/3] mm/oom_kill: remove the wrong fatal_signal_pending() Oleg Nesterov <oleg@redhat.com> - 2015-09-29 16:30 +0200
Re: [PATCH -mm 1/3] mm/oom_kill: remove the wrong fatal_signal_pending() David Rientjes <rientjes@google.com> - 2015-09-30 00:40 +0200
Re: [PATCH -mm 1/3] mm/oom_kill: remove the wrong fatal_signal_pending() Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> - 2015-09-30 03:50 +0200
Re: [PATCH -mm 1/3] mm/oom_kill: remove the wrong fatal_signal_pending() Oleg Nesterov <oleg@redhat.com> - 2015-09-30 16:00 +0200
Re: [PATCH -mm 1/3] mm/oom_kill: remove the wrongfatal_signal_pending() Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> - 2015-09-30 17:30 +0200
Re: [PATCH -mm 1/3] mm/oom_kill: remove the wrong fatal_signal_pending() Oleg Nesterov <oleg@redhat.com> - 2015-09-30 15:50 +0200
csiph-web