Re: [PATCH -next v5 1/5] mm: page_table_check: using PxD_SIZE instead of PxD_PAGE_SIZE
From: Pasha Tatashin
Date: Thu Apr 21 2022 - 14:40:44 EST
On 4/21/22 11:28, Pasha Tatashin wrote:
> On Thu, Apr 21, 2022 at 4:02 AM Tong Tiangen <tongtiangen@xxxxxxxxxx> wrote:
>>
>> Macro PUD_SIZE/PMD_SIZE is more general in various architectures. Using
>> PUD_SIZE/PMD_SIZE instead of PUD_PAGE_SIZE/PMD_PAGE_SIZE can better
>> support page table check in architectures other than x86 and it is no
>> functional impact on x86.
>>
>> Suggested-by: Anshuman Khandual <anshuman.khandual@xxxxxxx>
>> Signed-off-by: Tong Tiangen <tongtiangen@xxxxxxxxxx>
>
> Acked-by: Pasha Tatashin <pasha.tatashin@xxxxxxxxxx>
To avoid similar problems in the future, please also include the following patch after the current series:
----------------8<-------------[ cut here ]------------------