Re: [PATCH v6 13/20] mm: shmem: export some functions to internal.h
From: Pasha Tatashin
Date: Mon Nov 17 2025 - 13:44:40 EST
On Mon, Nov 17, 2025 at 5:14 AM Mike Rapoport <rppt@xxxxxxxxxx> wrote:
>
> On Sat, Nov 15, 2025 at 06:33:59PM -0500, Pasha Tatashin wrote:
> > From: Pratyush Yadav <ptyadav@xxxxxxxxx>
> >
> > shmem_inode_acct_blocks(), shmem_recalc_inode(), and
> > shmem_add_to_page_cache() are used by shmem_alloc_and_add_folio(). This
> > functionality will also be used in the future by Live Update
> > Orchestrator (LUO) to recreate memfd files after a live update.
>
> I'd rephrase this a bit to say that it will be used by memfd integration
> into LUO to emphasize this stays inside mm.
Done
>
> Other than that
>
> Reviewed-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>
Thank you.