[PATCH] arm64: mm: hugetlb: Disable HUGETLB_PAGE_OPTIMIZE_VMEMMAP

Catalin Marinas catalin.marinas at arm.com
Fri Feb 24 07:05:30 PST 2023


On Wed, 22 Feb 2023 17:52:32 +0000, Catalin Marinas wrote:
> Revert the HUGETLB_PAGE_FREE_VMEMMAP selection from commit 1e63ac088f20
> ("arm64: mm: hugetlb: enable HUGETLB_PAGE_FREE_VMEMMAP for arm64") but
> keep the flush_dcache_page() compound_head() change as it aligns with
> the corresponding check in the __sync_icache_dcache() function.
> 
> The original config option was renamed in commit 47010c040dec ("mm:
> hugetlb_vmemmap: cleanup CONFIG_HUGETLB_PAGE_FREE_VMEMMAP*") to
> HUGETLB_PAGE_OPTIMIZE_VMEMMAP and the flush_dcache_page() check was
> further simplified by commit 2da1c30929a2 ("mm: hugetlb_vmemmap: delete
> hugetlb_optimize_vmemmap_enabled()").
> 
> [...]

Applied to arm64 (for-next/core), thanks!

[1/1] arm64: mm: hugetlb: Disable HUGETLB_PAGE_OPTIMIZE_VMEMMAP
      https://git.kernel.org/arm64/c/060a2c92d1b6

-- 
Catalin




More information about the linux-arm-kernel mailing list