From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9F564226F1; Sun, 13 May 2018 21:55:47 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sun, 13 May 2018 21:55:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=7+hCH4IJ5UnkhfaS2DH0UBGLhs dx58ieQEwPD6njtqk=; b=bLN9r0AHR/nsBsde6Y/bKR7MkC7GwdqZ8252xjc5RM 2c9z0fztrQfxIOxtJkCtWcDGKBdoyYf0/CYo+OssH3DSPWRpoOY9SDJM7JPlQIYp ZsXiDaY/Uri0FOcp03lEyBzZYSki5LFWYUca+//ItSdKTrAn8ZgyO1DjOmb63Xo7 w= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=7+hCH4 IJ5UnkhfaS2DH0UBGLhsdx58ieQEwPD6njtqk=; b=MskpBO/u4OAnCf8BWsiiQs dpNLQI/piE9tAaDaRLnqi2cvV6LqFAm/5Wd4ovx89XqGr9ZFhG9q8XOuSnC3qGjR sb5Hn4oq4yVtO2VXjIEmP8FngZggJnR4MFSJTA1Jc6FNUaEEvoUf6RsFI85md6uu V0fldoGlZxL9Fy92Nytv4SQnJ3Ke1Q+uROkOCKI2RFG1+1TMdMppQQ+tzc1p1ZKw ydUCorsdCYuSQ4j2C1TOWnpXbYvMhi8ivHYWPWShDdeVftKo/leR+Fmxv3LRjxR8 Lb0wkrXA/OsjiCMosgHEzd/COa5wMyngDGMIf2pG5nI09E4uDlUF3EuTeol2uTCQ == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id AACEFE4393; Sun, 13 May 2018 21:55:46 -0400 (EDT) From: Thomas Monjalon To: "Burakov, Anatoly" Cc: dev@dpdk.org, "Ananyev, Konstantin" , "Lu, Wenzhuo" , "Wu, Jingjing" , "Tan, Jianfeng" Date: Mon, 14 May 2018 03:55:45 +0200 Message-ID: <1611943.V3LskiHsTT@xps> In-Reply-To: <2601191342CEEE43887BDE71AB977258AEDC55AE@irsmsx105.ger.corp.intel.com> References: <151ad7a96d31c881c28379b66c740cf96f5d2635.1525350577.git.anatoly.burakov@intel.com> <2601191342CEEE43887BDE71AB977258AEDC55AE@irsmsx105.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 2/2] app/tesetpmd: disable memory locking for bsdapp X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 May 2018 01:55:48 -0000 > > 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