[PATCH v3 2/2] arm64/mm: Rename try_pgd_pgtable_alloc_init_mm

Dev Jain dev.jain at arm.com
Wed Oct 15 23:07:04 PDT 2025


On 15/10/25 4:57 pm, Linu Cherian wrote:
> With BUG_ON in pgd_pgtable_alloc_init_mm moved up to higher layer,

wouldn't hurt to also add "and converted to a kernel panic". I got confused
by this statement and was trying to find the BUG_ON which got moved upwards.

> gfp flags is the only difference between try_pgd_pgtable_alloc_init_mm
> and pgd_pgtable_alloc_init_mm. Hence rename the "try" version
> to pgd_pgtable_alloc_init_mm_gfp.
>
> Reviewed-by: Ryan Roberts <ryan.roberts at arm.com>
> Signed-off-by: Linu Cherian <linu.cherian at arm.com>
> ---

Reviewed-by: Dev Jain <dev.jain at arm.com>




More information about the linux-arm-kernel mailing list