Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1402508 > unrolled thread

Re: [PATCH] oom: consider multi-threaded tasks in task_will_free_mem

Started byOleg Nesterov <oleg@redhat.com>
First post2016-05-17 20:10 +0200
Last post2016-05-17 20:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] oom: consider multi-threaded tasks in task_will_free_mem Oleg Nesterov <oleg@redhat.com> - 2016-05-17 20:10 +0200

#1402508 — Re: [PATCH] oom: consider multi-threaded tasks in task_will_free_mem

FromOleg Nesterov <oleg@redhat.com>
Date2016-05-17 20:10 +0200
SubjectRe: [PATCH] oom: consider multi-threaded tasks in task_will_free_mem
Message-ID<rzRBo-7V2-21@gated-at.bofh.it>
On 04/13, Michal Hocko wrote:
>
> On Wed 13-04-16 20:04:54, Tetsuo Handa wrote:
> > On 2016/04/12 18:19, Michal Hocko wrote:
> [...]
> > > Hi,
> > > I hope I got it right but I would really appreciate if Oleg found some
> > > time and double checked after me. The fix is more cosmetic than anything
> > > else but I guess it is worth it.
> >
> > I don't know what
> >
> >     fatal_signal_pending() can be true because of SIGNAL_GROUP_COREDUMP so
> >     out_of_memory() and mem_cgroup_out_of_memory() shouldn't blindly trust it.
> >
> > in commit d003f371b270 is saying (how SIGNAL_GROUP_COREDUMP can make
> > fatal_signal_pending() true when fatal_signal_pending() is defined as
>
> I guess this is about zap_process() but Olge would be more appropriate
> to clarify.


Yes, exactly, the dumper sends SIGKILL to other CLONE_THREAD and/or CLONE_VM
threads.

so I think the patch is fine, but let me write another email...

Oleg.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web