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

Pasha Tatashin pasha.tatashin at soleen.com
Wed Mar 26 07:48:08 PDT 2025


> -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)

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

Pasha



More information about the linux-arm-kernel mailing list