Re: [dpdk-dev] [PATCH v2] eal/freebsd: lock memory device to prevent conflicts

2021-10-06 Thread Thomas Monjalon
13/09/2021 16:08, Bruce Richardson: > Only a single DPDK process on the system can be using the /dev/contigmem > mappings at a time, but this was never explicitly enforced, e.g. when > using --in-memory flag on two processes. To prevent possible conflict > issues, we lock the dev node when it's in

[dpdk-dev] [PATCH v2] eal/freebsd: lock memory device to prevent conflicts

2021-09-13 Thread Bruce Richardson
Only a single DPDK process on the system can be using the /dev/contigmem mappings at a time, but this was never explicitly enforced, e.g. when using --in-memory flag on two processes. To prevent possible conflict issues, we lock the dev node when it's in use, preventing other DPDK processes from st