Re: [PATCH v2 1/1] KVM: arm64: Correctly handle the mmio faulting

2020-10-26 Thread Gavin Shan
Hi Santosh, On 10/26/20 10:24 PM, Santosh Shukla wrote: The Commit:6d674e28 introduces a notion to detect and handle the device mapping. The commit checks for the VM_PFNMAP flag is set in vma->flags and if set then marks force_pte to true such that if force_pte is true then ignore the THP functi

[PATCH v2 1/1] KVM: arm64: Correctly handle the mmio faulting

2020-10-26 Thread Santosh Shukla
The Commit:6d674e28 introduces a notion to detect and handle the device mapping. The commit checks for the VM_PFNMAP flag is set in vma->flags and if set then marks force_pte to true such that if force_pte is true then ignore the THP function check (/transparent_hugepage_adjust()). There could be