[dpdk-dev] [PATCH 2/2] app/tesetpmd: disable memory locking for bsdapp

Thomas Monjalon thomas at monjalon.net
Mon May 14 03:55:45 CEST 2018


> > If mlockall() is called while allocated VA space is bigger than
> > amount of available RAM, FreeBSD kernel will deadlock and need
> > a hard reboot. We do allocate big amounts of memory because of
> > how new memory subsystem works, so calling mlockall() will cause
> > a deadlock. So, disable mlockall() by default on FreeBSD.
> > 
> > Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> 
> Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

Series applied, thanks




More information about the dev mailing list