[PATCH 03/23] arm64/hugetlb: pte_alloc_huge() pte_offset_huge()

Catalin Marinas catalin.marinas at arm.com
Thu May 25 09:37:47 PDT 2023


On Tue, May 09, 2023 at 09:45:57PM -0700, Hugh Dickins wrote:
> pte_alloc_map() expects to be followed by pte_unmap(), but hugetlb omits
> that: to keep balance in future, use the recently added pte_alloc_huge()
> instead; with pte_offset_huge() a better name for pte_offset_kernel().
> 
> Signed-off-by: Hugh Dickins <hughd at google.com>

Acked-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-riscv mailing list