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

David Marchand david.marchand at redhat.com
Sat Oct 2 16:42:12 CEST 2021


On Mon, Sep 13, 2021 at 3:15 PM Burakov, Anatoly
<anatoly.burakov at intel.com> wrote:
> On 13-Sep-21 12:06 PM, Bruce Richardson wrote:
> > 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 starting up and causing problems for us.
> >
> > Fixes: 764bf26873b9 ("add FreeBSD support")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> Reviewed-by: Anatoly Burakov <anatoly.burakov at intel.com>

Applied, thanks.


-- 
David Marchand



More information about the dev mailing list