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

2014-06-18 Thread Burakov, Anatoly
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

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

2014-06-17 Thread Anatoly Burakov
Shared config is shared across primary and secondary processes. However,when using rte_malloc, the malloc elements keep references to the heap inside themselves. This heap reference might not be referencing a local heap because the heap reference points to the heap of whatever process has

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

2014-06-17 Thread Ananyev, Konstantin
Hi Anatoly > > Shared config is shared across primary and secondary processes. > However,when using rte_malloc, the malloc elements keep references to > the heap inside themselves. This heap reference might not be referencing > a local heap because the heap reference points to the heap of