Re: [PATCH v2] khugepaged: hold invalidate_lock across collapse_file() readahead
From: Mike Rapoport
Date: Mon Sep 14 2026 - 14:03:46 EST
On Mon, Sep 14, 2026 at 04:19:11PM +0200, David Hildenbrand (Arm) wrote:
> >
> > See https://lore.kernel.org/linux-mm/aqbtfms0_2ULBIT7@gremlin/
> >
> > I am not really entirely happy with somebody who has sent a flurry of patches
> > across disparate subsystems with no previous track record being in charge of a
> > potentially backported fix.
> >
> > It's David's decision but I think this fix should be taken over by somebody
> > else.
>
> IIUC, this patch might be responsible for random CI failures (Mike still
> investigating).
Checkout of this commit in mm-unstable [ 1be399d378b78 ("khugepaged: hold
invalidate_lock across collapse_file() readahead") as of a few hours back ]
'khugepaged all:file $XFS_DIR' fails once in 20 or so runs on my machine.
With this commit reverted, 400 iterations didn't fail.
> So I'd prefer if this is taken over by someone familiar with that code.
>
> @Willy, @Zi, @Lance?
>
>
> --
> Cheers,
>
> David
--
Sincerely yours,
Mike.