Re: [PATCH 3/3] mm/vmalloc: Sync unmappings in vunmap_page_range()
From: Joerg Roedel
Date: Fri Jul 19 2019 - 09:00:35 EST
On Fri, Jul 19, 2019 at 05:24:03AM -0700, Andy Lutomirski wrote:
> Could you move the vmalloc_sync_all() call to the lazy purge path,
> though? If nothing else, it will cause it to be called fewer times
> under any given workload, and it looks like it could be rather slow on
> x86_32.
Okay, I move it to __purge_vmap_area_lazy(). That looks like the right
place.
Thanks,
Joerg