WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Question: how to unmap memory mapped with direct_kernel_

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Question: how to unmap memory mapped with direct_kernel_remap_pfn_range() ?
From: "Santos, Jose Renato G" <joserenato.santos@xxxxxx>
Date: Fri, 15 Sep 2006 10:44:45 -0500
Delivery-date: Fri, 15 Sep 2006 08:45:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C13036BD.147A%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbYa6WBlnaFS//hTqCPbsrGYicO9gAQTIZRAAw/NjA=
Thread-topic: [Xen-devel] Question: how to unmap memory mapped with direct_kernel_remap_pfn_range() ?
Thanks, Keir
Renato 

> -----Original Message-----
> From: Keir Fraser [mailto:Keir.Fraser@xxxxxxxxxxxx] 
> Sent: Friday, September 15, 2006 2:54 AM
> To: Santos, Jose Renato G; xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] Question: how to unmap memory mapped 
> with direct_kernel_remap_pfn_range() ?
> 
> 
> 
> 
> On 15/9/06 03:07, "Santos, Jose Renato G" 
> <joserenato.santos@xxxxxx> wrote:
> 
> > Xenoprof buffers are mapped into the kernel using 
> > direct_kernel_remap_pfn_range().
> > I need to unmap the buffer when it is not needed anymore.
> > 
> > However, I could not find any function that unmaps pages previously 
> > mapped with direct_kernel_remap_pfn_range().
> > Any suggestion on how to do this?
> 
> Remember the vm_struct returned by alloc_vm_area(). Pass it to
> free_vm_area() to unmap and free.
> 
>  -- Keir
> 
> 
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>