Re: [Devel] [PATCH] kernel: call task_work_run() before exit_task_namespaces()

2017-08-08 Thread Konstantin Khorenko
On 08/08/2017 12:27 PM, Konstantin Khorenko wrote: Kirill, please review the patch. Please, disregard, it's a resend with commit message updated, i will update it during a rebase. -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 08/07/2017 08:15 PM, Andrei Vagin wrote:

Re: [Devel] [PATCH] kernel: call task_work_run() before exit_task_namespaces()

2017-08-08 Thread Konstantin Khorenko
Kirill, please review the patch. -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 08/07/2017 08:15 PM, Andrei Vagin wrote: From: Andrei Vagin This patch solves a problem for a following case. We have a container (a group of processes in pid and

Re: [Devel] [PATCH] kernel: call task_work_run() before exit_task_namespaces()

2017-08-07 Thread Konstantin Khorenko
ping -- Best regards, Konstantin Khorenko, Virtuozzo Linux Kernel Team On 07/20/2017 11:44 AM, Konstantin Khorenko wrote: Andrey, i've applied the patch in order not to block, but please extend the comment a little bit more: - ms commits (which are big to backport) - and what is the

Re: [Devel] [PATCH] kernel: call task_work_run() before exit_task_namespaces()

2017-07-20 Thread Konstantin Khorenko
Andrey, i've applied the patch in order not to block, but please extend the comment a little bit more: - ms commits (which are big to backport) - and what is the difference between those ms commits and our small commit. i'll edit the commit message during next rebase. Thank you. -- Best

Re: [Devel] [PATCH] kernel: call task_work_run() before exit_task_namespaces()

2017-07-19 Thread Andrey Vagin
On Wed, Jul 19, 2017 at 11:31:28AM -0700, Stanislav Kinsburskiy wrote: > > > 19 июля 2017 г. 9:14 PM пользователь Andrey Vagin > написал: > > On Wed, Jul 19, 2017 at 08:04:22PM +0300, Andrey Ryabinin wrote: > > > > > > On 07/19/2017 04:14 AM, Andrei Vagin

Re: [Devel] [PATCH] kernel: call task_work_run() before exit_task_namespaces()

2017-07-19 Thread Stanislav Kinsburskiy
19 июля 2017 г. 9:14 PM пользователь Andrey Vagin написал: On Wed, Jul 19, 2017 at 08:04:22PM +0300, Andrey Ryabinin wrote: > > > On 07/19/2017 04:14 AM, Andrei Vagin wrote: > > From: Andrei Vagin > > > > task_work_run() has to be called before

Re: [Devel] [PATCH] kernel: call task_work_run() before exit_task_namespaces()

2017-07-19 Thread Andrei Vagin
On Wed, Jul 19, 2017 at 08:04:22PM +0300, Andrey Ryabinin wrote: > > > On 07/19/2017 04:14 AM, Andrei Vagin wrote: > > From: Andrei Vagin > > > > task_work_run() has to be called before exit_task_namespaces(), > > because fuse_abort_conn() is called from __fput(). If it

Re: [Devel] [PATCH] kernel: call task_work_run() before exit_task_namespaces()

2017-07-19 Thread Andrey Ryabinin
On 07/19/2017 04:14 AM, Andrei Vagin wrote: > From: Andrei Vagin > > task_work_run() has to be called before exit_task_namespaces(), > because fuse_abort_conn() is called from __fput(). If it will not > be executed, we can hang in request_wait_answer(). We have seen this