12/06/2013 17:35, Olivier MATZ :
> On 06/12/2013 05:24 PM, Thomas Monjalon wrote:
> > From: Damien Millescamps
> >
> > Extract rte_mem_virt2phy() from find_physaddr().
>
> Acked-by: Olivier Matz
pushed
--
Thomas
On 06/12/2013 05:24 PM, Thomas Monjalon wrote:
> From: Damien Millescamps
>
> Extract rte_mem_virt2phy() from find_physaddr().
Acked-by: Olivier Matz
From: Damien Millescamps
Extract rte_mem_virt2phy() from find_physaddr().
rte_mem_virt2phy() permits to obtain the physical address of any
virtual address mapped to the current process calling this function.
Note that this function is very slow and shouldn't be called
after initialization to avo
Hi Thomas,
Please find some comments below.
> +/**
> + * Get physical address of any mapped virtual address in the current
process.
> + * It is found by browsing the /proc/self/pagemap special file.
> + * The page won't be swappable anymore.
> + */
> +phys_addr_t rte_mem_virt2phy(const voi
From: Damien Millescamps
Extract rte_mem_virt2phy() from find_physaddr().
This function permits to obtain the physical address of any
virtual address mapped to the current process calling this function.
Note that this function is very slow and shouldn't be called
after initialization to avoid a
5 matches
Mail list logo