[dpdk-dev] [PATCH 1/9] eal: map shared config into exact same address as primary process

Burakov, Anatoly anatoly.burakov at intel.com
Wed Jun 18 11:25:45 CEST 2014


Hi Konstantin,

> I think we introduce a race window here.
> If secondary process would do first mmap() before rte_config.mem_config-
> >mem_cfg_addr was properly set by primary process, then it will try to do
> second mmap() with wrong address.
> I think we need to do second mmap() straight after
> rte_eal_mcfg_wait_complete(), or even just inside it.

Acknowledged, will respin.

Best regards,
Anatoly Burakov
DPDK SW Engineer





More information about the dev mailing list