[PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v3

2018-03-22 Thread jglisse
From: Jérôme Glisse This code was lost in translation at one point. This properly call mmu_notifier_unregister_no_release() once last user is gone. This fix the zombie mm_struct as without this patch we do not drop the refcount we have on it. Changed since v1: - close race

[PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v3

2018-03-22 Thread jglisse
From: Jérôme Glisse This code was lost in translation at one point. This properly call mmu_notifier_unregister_no_release() once last user is gone. This fix the zombie mm_struct as without this patch we do not drop the refcount we have on it. Changed since v1: - close race window between a

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v2

2018-03-22 Thread John Hubbard
On 03/22/2018 05:50 PM, Jerome Glisse wrote: > On Thu, Mar 22, 2018 at 05:13:14PM -0700, John Hubbard wrote: >> On 03/22/2018 04:37 PM, Jerome Glisse wrote: >>> On Thu, Mar 22, 2018 at 03:47:16PM -0700, John Hubbard wrote: On 03/21/2018 04:41 PM, Jerome Glisse wrote: > On Wed, Mar 21,

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v2

2018-03-22 Thread John Hubbard
On 03/22/2018 05:50 PM, Jerome Glisse wrote: > On Thu, Mar 22, 2018 at 05:13:14PM -0700, John Hubbard wrote: >> On 03/22/2018 04:37 PM, Jerome Glisse wrote: >>> On Thu, Mar 22, 2018 at 03:47:16PM -0700, John Hubbard wrote: On 03/21/2018 04:41 PM, Jerome Glisse wrote: > On Wed, Mar 21,

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v2

2018-03-22 Thread Jerome Glisse
On Thu, Mar 22, 2018 at 05:13:14PM -0700, John Hubbard wrote: > On 03/22/2018 04:37 PM, Jerome Glisse wrote: > > On Thu, Mar 22, 2018 at 03:47:16PM -0700, John Hubbard wrote: > >> On 03/21/2018 04:41 PM, Jerome Glisse wrote: > >>> On Wed, Mar 21, 2018 at 04:22:49PM -0700, John Hubbard wrote: >

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v2

2018-03-22 Thread Jerome Glisse
On Thu, Mar 22, 2018 at 05:13:14PM -0700, John Hubbard wrote: > On 03/22/2018 04:37 PM, Jerome Glisse wrote: > > On Thu, Mar 22, 2018 at 03:47:16PM -0700, John Hubbard wrote: > >> On 03/21/2018 04:41 PM, Jerome Glisse wrote: > >>> On Wed, Mar 21, 2018 at 04:22:49PM -0700, John Hubbard wrote: >

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v2

2018-03-22 Thread John Hubbard
On 03/22/2018 04:37 PM, Jerome Glisse wrote: > On Thu, Mar 22, 2018 at 03:47:16PM -0700, John Hubbard wrote: >> On 03/21/2018 04:41 PM, Jerome Glisse wrote: >>> On Wed, Mar 21, 2018 at 04:22:49PM -0700, John Hubbard wrote: On 03/21/2018 11:16 AM, jgli...@redhat.com wrote: > From: Jérôme

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v2

2018-03-22 Thread John Hubbard
On 03/22/2018 04:37 PM, Jerome Glisse wrote: > On Thu, Mar 22, 2018 at 03:47:16PM -0700, John Hubbard wrote: >> On 03/21/2018 04:41 PM, Jerome Glisse wrote: >>> On Wed, Mar 21, 2018 at 04:22:49PM -0700, John Hubbard wrote: On 03/21/2018 11:16 AM, jgli...@redhat.com wrote: > From: Jérôme

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v2

2018-03-22 Thread Jerome Glisse
On Thu, Mar 22, 2018 at 03:47:16PM -0700, John Hubbard wrote: > On 03/21/2018 04:41 PM, Jerome Glisse wrote: > > On Wed, Mar 21, 2018 at 04:22:49PM -0700, John Hubbard wrote: > >> On 03/21/2018 11:16 AM, jgli...@redhat.com wrote: > >>> From: Jérôme Glisse > >>> > >>> This code

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v2

2018-03-22 Thread Jerome Glisse
On Thu, Mar 22, 2018 at 03:47:16PM -0700, John Hubbard wrote: > On 03/21/2018 04:41 PM, Jerome Glisse wrote: > > On Wed, Mar 21, 2018 at 04:22:49PM -0700, John Hubbard wrote: > >> On 03/21/2018 11:16 AM, jgli...@redhat.com wrote: > >>> From: Jérôme Glisse > >>> > >>> This code was lost in

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v2

2018-03-22 Thread John Hubbard
On 03/21/2018 04:41 PM, Jerome Glisse wrote: > On Wed, Mar 21, 2018 at 04:22:49PM -0700, John Hubbard wrote: >> On 03/21/2018 11:16 AM, jgli...@redhat.com wrote: >>> From: Jérôme Glisse >>> >>> This code was lost in translation at one point. This properly call >>>

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v2

2018-03-22 Thread John Hubbard
On 03/21/2018 04:41 PM, Jerome Glisse wrote: > On Wed, Mar 21, 2018 at 04:22:49PM -0700, John Hubbard wrote: >> On 03/21/2018 11:16 AM, jgli...@redhat.com wrote: >>> From: Jérôme Glisse >>> >>> This code was lost in translation at one point. This properly call >>>

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v3

2018-03-22 Thread Andrew Morton
On Wed, 21 Mar 2018 21:30:25 -0400 jgli...@redhat.com wrote: > This code was lost in translation at one point. This properly call > mmu_notifier_unregister_no_release() once last user is gone. This > fix the zombie mm_struct as without this patch we do not drop the > refcount we have on it. OK,

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v3

2018-03-22 Thread Andrew Morton
On Wed, 21 Mar 2018 21:30:25 -0400 jgli...@redhat.com wrote: > This code was lost in translation at one point. This properly call > mmu_notifier_unregister_no_release() once last user is gone. This > fix the zombie mm_struct as without this patch we do not drop the > refcount we have on it. OK,

[PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v3

2018-03-21 Thread jglisse
From: Jérôme Glisse This code was lost in translation at one point. This properly call mmu_notifier_unregister_no_release() once last user is gone. This fix the zombie mm_struct as without this patch we do not drop the refcount we have on it. Changed since v1: - close race

[PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v3

2018-03-21 Thread jglisse
From: Jérôme Glisse This code was lost in translation at one point. This properly call mmu_notifier_unregister_no_release() once last user is gone. This fix the zombie mm_struct as without this patch we do not drop the refcount we have on it. Changed since v1: - close race window between a

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v2

2018-03-21 Thread Jerome Glisse
On Wed, Mar 21, 2018 at 04:22:49PM -0700, John Hubbard wrote: > On 03/21/2018 11:16 AM, jgli...@redhat.com wrote: > > From: Jérôme Glisse > > > > This code was lost in translation at one point. This properly call > > mmu_notifier_unregister_no_release() once last user is

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v2

2018-03-21 Thread Jerome Glisse
On Wed, Mar 21, 2018 at 04:22:49PM -0700, John Hubbard wrote: > On 03/21/2018 11:16 AM, jgli...@redhat.com wrote: > > From: Jérôme Glisse > > > > This code was lost in translation at one point. This properly call > > mmu_notifier_unregister_no_release() once last user is gone. This > > fix the

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v2

2018-03-21 Thread John Hubbard
On 03/21/2018 11:16 AM, jgli...@redhat.com wrote: > From: Jérôme Glisse > > This code was lost in translation at one point. This properly call > mmu_notifier_unregister_no_release() once last user is gone. This > fix the zombie mm_struct as without this patch we do not drop

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v2

2018-03-21 Thread John Hubbard
On 03/21/2018 11:16 AM, jgli...@redhat.com wrote: > From: Jérôme Glisse > > This code was lost in translation at one point. This properly call > mmu_notifier_unregister_no_release() once last user is gone. This > fix the zombie mm_struct as without this patch we do not drop the > refcount we

[PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v2

2018-03-21 Thread jglisse
From: Jérôme Glisse This code was lost in translation at one point. This properly call mmu_notifier_unregister_no_release() once last user is gone. This fix the zombie mm_struct as without this patch we do not drop the refcount we have on it. Changed since v1: - close race

[PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit v2

2018-03-21 Thread jglisse
From: Jérôme Glisse This code was lost in translation at one point. This properly call mmu_notifier_unregister_no_release() once last user is gone. This fix the zombie mm_struct as without this patch we do not drop the refcount we have on it. Changed since v1: - close race window between a

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit

2018-03-21 Thread Jerome Glisse
On Tue, Mar 20, 2018 at 09:24:41PM -0700, John Hubbard wrote: > On 03/19/2018 07:00 PM, jgli...@redhat.com wrote: > > From: Jérôme Glisse > > > > This code was lost in translation at one point. This properly call > > mmu_notifier_unregister_no_release() once last user is

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit

2018-03-21 Thread Jerome Glisse
On Tue, Mar 20, 2018 at 09:24:41PM -0700, John Hubbard wrote: > On 03/19/2018 07:00 PM, jgli...@redhat.com wrote: > > From: Jérôme Glisse > > > > This code was lost in translation at one point. This properly call > > mmu_notifier_unregister_no_release() once last user is gone. This > > fix the

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit

2018-03-20 Thread John Hubbard
On 03/19/2018 07:00 PM, jgli...@redhat.com wrote: > From: Jérôme Glisse > > This code was lost in translation at one point. This properly call > mmu_notifier_unregister_no_release() once last user is gone. This > fix the zombie mm_struct as without this patch we do not drop

Re: [PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit

2018-03-20 Thread John Hubbard
On 03/19/2018 07:00 PM, jgli...@redhat.com wrote: > From: Jérôme Glisse > > This code was lost in translation at one point. This properly call > mmu_notifier_unregister_no_release() once last user is gone. This > fix the zombie mm_struct as without this patch we do not drop the > refcount we

[PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit

2018-03-19 Thread jglisse
From: Jérôme Glisse This code was lost in translation at one point. This properly call mmu_notifier_unregister_no_release() once last user is gone. This fix the zombie mm_struct as without this patch we do not drop the refcount we have on it. Signed-off-by: Jérôme Glisse

[PATCH 04/15] mm/hmm: unregister mmu_notifier when last HMM client quit

2018-03-19 Thread jglisse
From: Jérôme Glisse This code was lost in translation at one point. This properly call mmu_notifier_unregister_no_release() once last user is gone. This fix the zombie mm_struct as without this patch we do not drop the refcount we have on it. Signed-off-by: Jérôme Glisse Cc: Evgeny Baskakov