From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 2/2] app/tesetpmd: disable memory locking for bsdapp Date: Mon, 14 May 2018 03:55:45 +0200 Message-ID: <1611943.V3LskiHsTT@xps> References: <151ad7a96d31c881c28379b66c740cf96f5d2635.1525350577.git.anatoly.burakov@intel.com> <2601191342CEEE43887BDE71AB977258AEDC55AE@irsmsx105.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Ananyev, Konstantin" , "Lu, Wenzhuo" , "Wu, Jingjing" , "Tan, Jianfeng" To: "Burakov, Anatoly" Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 2CFF21C176 for ; Mon, 14 May 2018 03:55:48 +0200 (CEST) In-Reply-To: <2601191342CEEE43887BDE71AB977258AEDC55AE@irsmsx105.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > 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 > > Acked-by: Konstantin Ananyev Series applied, thanks