[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130915165531.GD13344@redhat.com>
Date: Sun, 15 Sep 2013 18:55:31 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
Cc: viro@...iv.linux.org.uk, linux-kernel@...r.kernel.org,
David Rientjes <rientjes@...gle.com>,
Sergey Dyasly <dserrg@...il.com>, Michal Hocko <mhocko@...e.cz>
Subject: Re: [PATCH] kthread: Make kthread_create() killable.
Hi Tetsuo,
please do not start the off-list discussions ;)
On 09/15, Tetsuo Handa wrote:
>
> I examined do_coredump() case and found similar result.
...
> Do we want to change from call_usermodehelper_exec(UMH_WAIT_EXEC) to
> call_usermodehelper_exec(UMH_WAIT_EXEC | UMH_WAIT_KILLABLE)
To me, this makes sense in any case. And this matches other recent
"make coredump killable" changes.
> thread (who is waiting for pipe reader process to start) can terminate as soon
> as possible (rather than waiting forever unless somebody releases memory)?
But as for OOM this can't help if the dumping process is multithreaded.
This connects to other problems we discuss in another thread. probably
I should send the patch which does s/PT_TRACE_EXIT/SIGNAL_GROUP_COREDUMP/
at least.
Oleg.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists