[PATCH v2] KVM: arm64: Try PMD block mappings if PUD mappings are not supported
Marc Zyngier
maz at kernel.org
Fri Sep 18 11:56:58 EDT 2020
On Thu, 10 Sep 2020 14:33:51 +0100, Alexandru Elisei wrote:
> When userspace uses hugetlbfs for the VM memory, user_mem_abort() tries to
> use the same block size to map the faulting IPA in stage 2. If stage 2
> cannot the same block mapping because the block size doesn't fit in the
> memslot or the memslot is not properly aligned, user_mem_abort() will fall
> back to a page mapping, regardless of the block size. We can do better for
> PUD backed hugetlbfs by checking if a PMD block mapping is supported before
> deciding to use a page.
>
> [...]
Applied to next, thanks!
[1/1] KVM: arm64: Try PMD block mappings if PUD mappings are not supported
commit: 523b3999e5f620cb5ccce6a7ca2780a4cab579a2
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list