[dpdk-dev] [PATCH v3] lib/librte_eal/linuxapp: fix runtime config mmap issue

Burakov, Anatoly anatoly.burakov at intel.com
Wed Oct 23 19:46:50 CEST 2019


On 23-Oct-19 11:42 AM, Li Han wrote:
> In rte_eal_config_reattach(),the secondary mmap may fail
> due to the rte_mem_cfg_addr already be used by others.do
> the change just as the rte_fbarray_init() do.if no
> base_virtaddr,use the default 0x100000000.
> 
> v2/v3:
> -fix code style issues
> 
> Signed-off-by: Li Han <han.li1 at zte.com.cn>
> ---

Nack. There's a reason why we map it at the same address, and it's to 
have all pointers working across processes. Remapping it at a different 
address has potential to break things.

-- 
Thanks,
Anatoly


More information about the dev mailing list