Re: [PATCHv2 1/2] mm/memory: Do not populate page table entries beyond i_size

From: Andrew Morton
Date: Sun Oct 26 2025 - 00:54:28 EST


On Fri, 24 Oct 2025 10:26:05 +0100 Kiryl Shutsemau <kirill@xxxxxxxxxxxxx> wrote:

> > Because the Sep 28 2025 Fixes: totally fooled me and because this
> > doesn't apply to 6.17, let alone to 6.ancient.
> >
> > > It sure is a fix for that. We can indicate to which stable
> > > versions we want to have ti backported.
> > >
> > > And yes, it might be all stable kernels.
> >
> > No probs, thanks for clarifying. I'll restore the
> >
> > Fixes: 800d8c63b2e9 ("shmem: add huge pages support")
> > Cc; <stable@xxxxxxxxxxxxxxx>
> >
> > and shall let others sort out the backporting issues.
>
> One possible way to relax backporting requirements is only to backport
> to kernels where we can have writable file mapping to filesystem with a
> backing storage (non-shmem).
>
> Maybe
>
> Fixes: 01c70267053d ("fs: add a filesystem flag for THPs")

OK, thanks, I changed it to

Link: https://lkml.kernel.org/r/20251023093251.54146-2-kirill@xxxxxxxxxxxxx
Fixes: 01c70267053d ("fs: add a filesystem flag for THPs")
Signed-off-by: Kiryl Shutsemau <kas@xxxxxxxxxx>
...
Cc: <stable@xxxxxxxxxxxxxxx>