Re: [PATCH] mm: fix apply_to_existing_page_range()
From: Kirill A. Shutemov
Date: Wed Apr 09 2025 - 06:41:21 EST
On Wed, Apr 09, 2025 at 12:26:09PM +0200, David Hildenbrand wrote:
> > > It should affect apply_to_existing_page_range() users where create==false.
> > > There are not many, and likely most PTEs in the range they are passing are
> > > all non-none.
> >
> > Or we just silently leak memory :P
>
> That's exactly what I am trying to figure out: is there something upstream
> that could actually run into this such that we should CC stable?
>From a quick glance, I don't see any of them to have a problem, but the
fix is trivial enough for stable@ even without a known buggy user.
--
Kiryl Shutsemau / Kirill A. Shutemov