[dpdk-dev] [PATCH v2] ivshmem: fix race condition

2016-04-01 Thread Thomas Monjalon
> > The memory zone could be freed just after adding it to the metadata > > file and just before marking it as not freeable. > > This patch changes the locking logic in order to prevent it. > > > > Fixes: cd10c42eb5bc ("mem: fix ivshmem freeing") > > > > Signed-off-by: Mauricio Vasquez B > > >

[dpdk-dev] [PATCH v2] ivshmem: fix race condition

2016-04-01 Thread Mauricio Vasquez B
The memory zone could be freed just after adding it to the metadata file and just before marking it as not freeable. This patch changes the locking logic in order to prevent it. Fixes: cd10c42eb5bc ("mem: fix ivshmem freeing") Signed-off-by: Mauricio Vasquez B --- lib/librte_ivshmem/rte_ivshmem

[dpdk-dev] [PATCH v2] ivshmem: fix race condition

2016-04-01 Thread Burakov, Anatoly
> The memory zone could be freed just after adding it to the metadata > file and just before marking it as not freeable. > This patch changes the locking logic in order to prevent it. > > Fixes: cd10c42eb5bc ("mem: fix ivshmem freeing") > > Signed-off-by: Mauricio Vasquez B > > --- > lib/librte