Re: [PATCH v2] mm: Track page table modifications in __apply_to_page_range()

From: Chris Wilson
Date: Fri Aug 21 2020 - 14:51:51 EST


Quoting Joerg Roedel (2020-08-21 13:37:46)
> From: Joerg Roedel <jroedel@xxxxxxx>
>
> The __apply_to_page_range() function is also used to change and/or
> allocate page-table pages in the vmalloc area of the address space.
> Make sure these changes get synchronized to other page-tables in the
> system by calling arch_sync_kernel_mappings() when necessary.
>
> Tested-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> #x86-32
> Cc: <stable@xxxxxxxxxxxxxxx> # v5.8+
> Signed-off-by: Joerg Roedel <jroedel@xxxxxxx>

I've doubled check that this patch by itself fixes our x86-32 vmapping
issue. Thanks,
-Chris