[PATCH v6.13-rc1] arm64: mte: set VM_MTE_ALLOWED for hugetlbfs at correct place

Catalin Marinas catalin.marinas at arm.com
Mon Dec 2 10:16:29 PST 2024


On Tue, 19 Nov 2024 12:09:14 -0800, Yang Shi wrote:
> The commit 5de195060b2e ("mm: resolve faulty mmap_region() error path
> behaviour") moved vm flags validation before fop->mmap for file
> mappings.  But when commit 25c17c4b55de ("hugetlb: arm64: add mte support")
> was rebased on top of it, the hugetlbfs part was missed.  Mmapping
> hugetlbfs file may not have MAP_HUGETLB set.
> 
> 
> [...]

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

[1/1] arm64: mte: set VM_MTE_ALLOWED for hugetlbfs at correct place
      https://git.kernel.org/arm64/c/49ccf2c3cafb

-- 
Catalin




More information about the linux-arm-kernel mailing list