Re: [PATCH] sparc: Use vmemmap_populate_hugepages for vmemmap_populate
From: Tao pilgrim
Date: Thu Dec 18 2025 - 06:48:41 EST
On Thu, Dec 18, 2025 at 7:14 PM Mike Rapoport <rppt@xxxxxxxxxx> wrote:
>
> On Wed, Dec 17, 2025 at 08:08:58PM +0800, chengkaitao wrote:
> > From: Chengkaitao <chengkaitao@xxxxxxxxxx>
> >
> > 1. Added the vmemmap_false_pmd function to accommodate architectures
> > that do not support basepages.
> > 2. In the SPARC architecture, reimplemented vmemmap_populate using
> > vmemmap_populate_hugepages.
>
> What problem this patch is trying to solve?
Following the pattern established by other architectures, vmemmap_populate
is reimplemented using vmemmap_populate_hugepages in the SPARC architecture,
which fulfills the intended purpose of vmemmap_populate_hugepages.
The functional logic remains unchanged.
> > Signed-off-by: Chengkaitao <chengkaitao@xxxxxxxxxx>
> > ---
--
Yours,
Kaitao Cheng