| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC PATCH 58/84] x86/mm: fix leaks in map_xen_pagetable.
 On 26/09/2019 14:16, Wei Liu wrote: On Thu, Sep 26, 2019 at 10:46:21AM +0100, hongyax@xxxxxxxxxx wrote: Yes. Actually this patch fixes two issues, this is the first one. diff --git a/xen/common/vmap.c b/xen/common/vmap.c index faebc1ddf1..fcdb8495c8 100644 --- a/xen/common/vmap.c +++ b/xen/common/vmap.cI fail to see why you need to change vmap to fix a leak somewhere else. The second leak is that after the patches, we cannot just call vmap_to_mfn() because it calls virt_to_xen_l1e() under the hood which maps a page. We have to unmap it, therefore I modified the vmap_to_mfn to also do the unmapping. This is a separate issue than the first one, so maybe I could split the patch into two. I guess I will need to wait for your branch to have a closer look. Wei. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |