[PATCH V2] mm: Merge pte_mkhuge() call into arch_make_huge_pte()
Catalin Marinas
catalin.marinas at arm.com
Fri Feb 4 04:54:27 AEDT 2022
On Thu, Feb 03, 2022 at 09:27:49AM +0530, Anshuman Khandual wrote:
> Each call into pte_mkhuge() is invariably followed by arch_make_huge_pte().
> Instead arch_make_huge_pte() can accommodate pte_mkhuge() at the beginning.
> This updates generic fallback stub for arch_make_huge_pte() and available
> platforms definitions. This makes huge pte creation much cleaner and easier
> to follow.
>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Will Deacon <will at kernel.org>
> Cc: Michael Ellerman <mpe at ellerman.id.au>
> Cc: Paul Mackerras <paulus at samba.org>
> Cc: "David S. Miller" <davem at davemloft.net>
> Cc: Mike Kravetz <mike.kravetz at oracle.com>
> Cc: Andrew Morton <akpm at linux-foundation.org>
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linuxppc-dev at lists.ozlabs.org
> Cc: sparclinux at vger.kernel.org
> Cc: linux-mm at kvack.org
> Cc: linux-kernel at vger.kernel.org
> Reviewed-by: Christophe Leroy <christophe.leroy at csgroup.eu>
> Acked-by: Mike Kravetz <mike.kravetz at oracle.com>
> Signed-off-by: Anshuman Khandual <anshuman.khandual at arm.com>
Acking v2 as well:
Acked-by: Catalin Marinas <catalin.marinas at arm.com>
More information about the Linuxppc-dev
mailing list