Home
last modified time | relevance | path

Searched hist:c01cbba2aa8b4d05607d373b02fe9e4eda5c0591 (Results 1 – 1 of 1) sorted by relevance

/linux/mm/
H A Dhmm.cdiff c01cbba2aa8b4d05607d373b02fe9e4eda5c0591 Wed Apr 11 01:28:23 CEST 2018 Jérôme Glisse <jglisse@redhat.com> 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>