From: Jason Gunthorpe <jgg@mellanox.com>
To: Ajay Kaher <akaher@vmware.com>
Cc: "aarcange@redhat.com" <aarcange@redhat.com>,
"jannh@google.com" <jannh@google.com>,
"oleg@redhat.com" <oleg@redhat.com>,
"peterx@redhat.com" <peterx@redhat.com>,
"rppt@linux.ibm.com" <rppt@linux.ibm.com>,
"mhocko@suse.com" <mhocko@suse.com>,
"jglisse@redhat.com" <jglisse@redhat.com>,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
"mike.kravetz@oracle.com" <mike.kravetz@oracle.com>,
"viro@zeniv.linux.org.uk" <viro@zeniv.linux.org.uk>,
"riandrews@android.com" <riandrews@android.com>,
"arve@android.com" <arve@android.com>,
Yishai Hadas <yishaih@mellanox.com>,
"dledford@redhat.com" <dledford@redhat.com>,
"sean.hefty@intel.com" <sean.hefty@intel.com>,
"hal.rosenstock@gmail.com" <hal.rosenstock@gmail.com>,
Matan Barak <matanb@mellanox.com>,
Leon
Subject: Re: [PATCH v4 2/3][v4.9.y] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping
Date: Mon, 24 Jun 2019 13:12:30 +0000 [thread overview]
Message-ID: <20190624131226.GA7418@mellanox.com> (raw)
In-Reply-To: <1561410186-3919-2-git-send-email-akaher@vmware.com>
On Tue, Jun 25, 2019 at 02:33:04AM +0530, Ajay Kaher wrote:
> This patch is the extension of following upstream commit to fix
> the race condition between get_task_mm() and core dumping
> for IB->mlx4 and IB->mlx5 drivers:
>
> commit 04f5866e41fb ("coredump: fix race condition between
> mmget_not_zero()/get_task_mm() and core dumping")'
>
> Thanks to Jason for pointing this.
>
> Signed-off-by: Ajay Kaher <akaher@vmware.com>
> ---
> drivers/infiniband/hw/mlx4/main.c | 4 +++-
> drivers/infiniband/hw/mlx5/main.c | 3 +++
> 2 files changed, 6 insertions(+), 1 deletion(-)
Looks OK
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Thanks
Jason
WARNING: multiple messages have this Message-ID (diff)
From: Jason Gunthorpe <jgg@mellanox.com>
To: Ajay Kaher <akaher@vmware.com>
Cc: "aarcange@redhat.com" <aarcange@redhat.com>,
"jannh@google.com" <jannh@google.com>,
"oleg@redhat.com" <oleg@redhat.com>,
"peterx@redhat.com" <peterx@redhat.com>,
"rppt@linux.ibm.com" <rppt@linux.ibm.com>,
"mhocko@suse.com" <mhocko@suse.com>,
"jglisse@redhat.com" <jglisse@redhat.com>,
"akpm@linux-foundation.org" <akpm@linux-foundation.org>,
"mike.kravetz@oracle.com" <mike.kravetz@oracle.com>,
"viro@zeniv.linux.org.uk" <viro@zeniv.linux.org.uk>,
"riandrews@android.com" <riandrews@android.com>,
"arve@android.com" <arve@android.com>,
Yishai Hadas <yishaih@mellanox.com>,
"dledford@redhat.com" <dledford@redhat.com>,
"sean.hefty@intel.com" <sean.hefty@intel.com>,
"hal.rosenstock@gmail.com" <hal.rosenstock@gmail.com>,
Matan Barak <matanb@mellanox.com>,
Leon Romanovsky <leonro@mellanox.com>,
"linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>,
"linux-mm@kvack.org" <linux-mm@kvack.org>,
"devel@driverdev.osuosl.org" <devel@driverdev.osuosl.org>,
"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"stable@vger.kernel.org" <stable@vger.kernel.org>,
"srivatsab@vmware.com" <srivatsab@vmware.com>,
"amakhalov@vmware.com" <amakhalov@vmware.com>
Subject: Re: [PATCH v4 2/3][v4.9.y] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping
Date: Mon, 24 Jun 2019 13:12:30 +0000 [thread overview]
Message-ID: <20190624131226.GA7418@mellanox.com> (raw)
In-Reply-To: <1561410186-3919-2-git-send-email-akaher@vmware.com>
On Tue, Jun 25, 2019 at 02:33:04AM +0530, Ajay Kaher wrote:
> This patch is the extension of following upstream commit to fix
> the race condition between get_task_mm() and core dumping
> for IB->mlx4 and IB->mlx5 drivers:
>
> commit 04f5866e41fb ("coredump: fix race condition between
> mmget_not_zero()/get_task_mm() and core dumping")'
>
> Thanks to Jason for pointing this.
>
> Signed-off-by: Ajay Kaher <akaher@vmware.com>
> ---
> drivers/infiniband/hw/mlx4/main.c | 4 +++-
> drivers/infiniband/hw/mlx5/main.c | 3 +++
> 2 files changed, 6 insertions(+), 1 deletion(-)
Looks OK
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Thanks
Jason
next prev parent reply other threads:[~2019-06-24 13:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-24 21:03 [PATCH v4 1/3] [v4.9.y] coredump: fix race condition between mmget_not_zero()/get_task_mm() and core dumping Ajay Kaher
2019-06-24 21:03 ` Ajay Kaher
2019-06-24 21:03 ` [PATCH v4 2/3][v4.9.y] " Ajay Kaher
2019-06-24 21:03 ` Ajay Kaher
2019-06-24 13:12 ` Jason Gunthorpe [this message]
2019-06-24 13:12 ` Jason Gunthorpe
2019-06-24 21:03 ` [PATCH v4 3/3] [v4.9.y] " Ajay Kaher
2019-06-24 21:03 ` Ajay Kaher
2019-06-24 21:03 ` [PATCH v4 0/3] " Ajay Kaher
2019-06-24 21:03 ` Ajay Kaher
2019-06-24 20:21 ` Sasha Levin
2019-06-24 20:21 ` Sasha Levin
2019-06-25 6:10 ` Ajay Kaher
2019-06-25 6:10 ` Ajay Kaher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190624131226.GA7418@mellanox.com \
--to=jgg@mellanox.com \
--cc=aarcange@redhat.com \
--cc=akaher@vmware.com \
--cc=akpm@linux-foundation.org \
--cc=arve@android.com \
--cc=dledford@redhat.com \
--cc=hal.rosenstock@gmail.com \
--cc=jannh@google.com \
--cc=jglisse@redhat.com \
--cc=matanb@mellanox.com \
--cc=mhocko@suse.com \
--cc=mike.kravetz@oracle.com \
--cc=oleg@redhat.com \
--cc=peterx@redhat.com \
--cc=riandrews@android.com \
--cc=rppt@linux.ibm.com \
--cc=sean.hefty@intel.com \
--cc=viro@zeniv.linux.org.uk \
--cc=yishaih@mellanox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.