Return-Path: Date: Fri, 16 Mar 2018 14:12:21 -0700 From: Andrew Morton To: jglisse@redhat.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Ralph Campbell , stable@vger.kernel.org, Evgeny Baskakov , Mark Hairgrove , John Hubbard Subject: Re: [PATCH 03/14] mm/hmm: HMM should have a callback before MM is destroyed v2 Message-Id: <20180316141221.f2b622630de3f1da51a5c105@linux-foundation.org> In-Reply-To: <20180316191414.3223-4-jglisse@redhat.com> References: <20180316191414.3223-1-jglisse@redhat.com> <20180316191414.3223-4-jglisse@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: On Fri, 16 Mar 2018 15:14:08 -0400 jglisse@redhat.com wrote: > The hmm_mirror_register() function registers a callback for when > the CPU pagetable is modified. Normally, the device driver will > call hmm_mirror_unregister() when the process using the device is > finished. However, if the process exits uncleanly, the struct_mm > can be destroyed with no warning to the device driver. Again, what are the user-visible effects of the bug? Such info is needed when others review our request for a -stable backport. And the many people who review -stable patches for integration into their own kernel trees will want to understand the benefit of the patch to their users.