Re: [PATCH V12 3/4] mm/sparse-vmemmap: Generalise vmemmap_populate_hugepages()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/20/22 00:23, Huacai Chen wrote:
> From: Feiyang Chen <chenfeiyang@xxxxxxxxxxx>
> 
> Generalise vmemmap_populate_hugepages() so ARM64 & X86 & LoongArch can
> share its implementation.
> 
> Acked-by: Will Deacon <will@xxxxxxxxxx>
> Signed-off-by: Feiyang Chen <chenfeiyang@xxxxxxxxxxx>
> Signed-off-by: Huacai Chen <chenhuacai@xxxxxxxxxxx>
> ---
>  arch/arm64/mm/mmu.c      | 55 +++++++-----------------
>  arch/loongarch/mm/init.c | 59 +++++++-------------------
>  arch/x86/mm/init_64.c    | 92 ++++++++++++++--------------------------
>  include/linux/mm.h       |  6 +++
>  mm/sparse-vmemmap.c      | 63 +++++++++++++++++++++++++++
>  5 files changed, 132 insertions(+), 143 deletions(-)

Thanks for doing this.  It's always nice to see the per-arch duplication
get collapsed!

Acked-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux