Re: [PATCH -fixes] mm: Add a call to flush_cache_vmap() in vmap_pfn()

From: Christoph Hellwig
Date: Wed Aug 09 2023 - 18:25:26 EST


On Wed, Aug 09, 2023 at 06:46:33PM +0200, Alexandre Ghiti wrote:
> flush_cache_vmap() must be called after new vmalloc mappings are
> installed in the page table in order to allow architectures to make sure
> the new mapping is visible.

Looks good. I somehow vaguely remember seing a patch like this floating
around before as part of a series, but if that didn't make it it
certainly should now.

Reviewed-by: Christoph Hellwig <hch@xxxxxx>