Re: [PATCH stable v2] mm/khugepaged: write all dirty file folios when collapsing
From: Pedro Falcato
Date: Wed Jul 08 2026 - 12:29:47 EST
On Wed, Jul 08, 2026 at 04:30:48PM +0100, Matthew Wilcox wrote:
> On Wed, Jul 08, 2026 at 04:13:57PM +0100, Pedro Falcato wrote:
> > [There is no upstream commit, as this code was removed by upstream
> > commit 044925f9b565 ("mm: fs: remove filemap_nr_thps*() functions and their users")]
> >
> > Cc: stable@xxxxxxxxxxxxxxx
> > Cc: Alexander Viro <viro@xxxxxxxxxxxxxxxxxx>
> > Cc: Christian Brauner <brauner@xxxxxxxxxx>
> > Cc: Jan Kara <jack@xxxxxxx>
> > Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx>
> > Cc: Song Liu <song@xxxxxxxxxx>
> > Cc: Eric Hagberg <ehagberg@xxxxxxxxxxxxxx>
> > Cc: Zi Yan <ziy@xxxxxxxxxx>
> > Fixes: 99cb0dbd47a1 ("mm,thp: add read-only THP support for (non-shmem) FS")
> > Reported-by: Gregg Leventhal <gleventhal@xxxxxxxxxxxxxx>
> > Closes: https://lore.kernel.org/linux-mm/CAFN_u7H_0ECF3jixP=T=U7AH5=Q3wQNvJMo8an3VqUDMerQfUw@xxxxxxxxxxxxxx/
> > Tested-by: Zi Yan <ziy@xxxxxxxxxx>
> > Tested-by: Lance Yang <lance.yang@xxxxxxxxx>
> > Signed-off-by: Pedro Falcato <pfalcato@xxxxxxx>
>
> Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>
Thanks!
--
Pedro