[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |