Jérôme Glisse c01cbba2aa mm/hmm: unregister mmu_notifier when last HMM client quit
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.

Link: http://lkml.kernel.org/r/20180323005527.758-5-jglisse@redhat.com
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
Cc: Evgeny Baskakov <ebaskakov@nvidia.com>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Cc: Mark Hairgrove <mhairgrove@nvidia.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-04-11 10:28:30 -07:00
..
2017-06-05 16:59:12 +02:00
2018-04-05 21:36:27 -07:00
2017-02-27 18:43:47 -08:00
2018-04-05 21:36:26 -07:00
2017-11-15 18:21:05 -08:00
2018-04-05 21:36:27 -07:00
2018-04-07 12:08:19 -07:00
2018-04-05 21:36:24 -07:00
2017-11-15 18:21:01 -08:00
2018-01-31 17:18:37 -08:00
2018-02-06 18:32:48 -08:00