Re: [PATCH v2 1/2] arm64/hugetlb: Use ptep_get() to get the pte value of a huge page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 5/13/2022 6:50 PM, Anshuman Khandual wrote:


On 5/13/22 09:07, Baolin Wang wrote:
The original huge_ptep_get() on ARM64 is just a wrapper of ptep_get(),

Right, as arm64 does not enable __HAVE_ARCH_HUGE_PTEP_GET.

which will not take into account any contig-PTEs dirty and access bits.

As expected being operating on a single table entry.

Meanwhile we will implement a new ARM64-specific huge_ptep_get()
interface in following patch, which will take into account any contig-PTEs
dirty and access bits. To keep the same efficient logics to get the pte

s/logics/logic

Will fix.


value, change to use ptep_get() as a preparation.

Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxxxxxxxxx>
Reviewed-by: Muchun Song <songmuchun@xxxxxxxxxxxxx>

LGTM

Reviewed-by: Anshuman Khandual <anshuman.khandual@xxxxxxx>

Thanks.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux