[PATCH v3 03/11] mm/page_table_check: Batch-check pmds/puds just like ptes

Ryan Roberts ryan.roberts at arm.com
Wed Mar 26 07:54:24 PDT 2025


On 26/03/2025 10:48, Pasha Tatashin wrote:
>> -void __page_table_check_pud_set(struct mm_struct *mm, pud_t *pudp, pud_t pud)
>> +void __page_table_check_puds_set(struct mm_struct *mm, pud_t *pudp, pud_t pud,
>> +               unsigned int nr)
>>  {
>> +       unsigned int i;
>> +       unsigned long stride = PUD_SIZE >> PAGE_SHIFT;
> 
> nit: please order declarations from longest to shortest, it usually
> helps with readability. (here and in pmd)

Noted, I'll fix this.

> 
> Reviewed-by: Pasha Tatashin <pasha.tatashin at soleen.com>

Thanks!

> 
> Pasha




More information about the linux-arm-kernel mailing list