Re: [PATCH] mm: refactor __vunmap() to avoid duplicated call to find_vm_area()
From: Roman Gushchin
Date: Wed May 15 2019 - 13:47:43 EST
On Wed, May 15, 2019 at 10:35:26AM -0700, Ira Weiny wrote:
> > -/* Handle removing and resetting vm mappings related to the vm_struct. */
> > -static void vm_remove_mappings(struct vm_struct *area, int deallocate_pages)
> > +/* Handle removing and resetting vm mappings related to the va->vm vm_struct. */
> > +static void vm_remove_mappings(struct vmap_area *va, int deallocate_pages)
> Does this apply to 5.1? I'm confused because I can't find vm_remove_mappings()
> in 5.1.
Not really, it's based on top of the current mm tree.
You can find the earlier version which applies on 5.1 here: