From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id BCB1CA0C41; Wed, 6 Oct 2021 16:56:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5369941175; Wed, 6 Oct 2021 16:56:16 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by mails.dpdk.org (Postfix) with ESMTP id E2F0541137; Wed, 6 Oct 2021 16:56:14 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id E2D6532007BE; Wed, 6 Oct 2021 10:56:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 06 Oct 2021 10:56:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= HTuJgrLBOj7VWr1A+NKR2nHnsQjpcPtkqCQvARAziA4=; b=GMm3J3HWQUhn278J TJeJdCTH/iETiTP5paxCtQ/AkpOiIeYNmkQQZd3nnxS/1exaVOyjT7TROBB1Ac2V g6Y7Sb86T4rF62ko1Kqp1CeW3jF6POfMuc9ag1HbR0JJNOg2s9eX2a3BpICy6Vqc F064uNJ/n5t1JsPw0iiCTg7OQjXtnNSjXTWXJ9IAE0SNb6UZmBjO4WsKT0j5PwkR bKlrYR0NJs6OWT9DT5r3MePgl5SkQhjjhXyEe45+NrEMbkuaavpIzyDdiYkk0AVZ 79tpdmQYWO6r8VXFAOlsM4RgZWKsZccp1dTloEhcHJy9UENHI1XfMmCO//IQKacN K96oWg== 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=HTuJgrLBOj7VWr1A+NKR2nHnsQjpcPtkqCQvARAzi A4=; b=DA/LZVNxD7bjU5vD3UBP/7IySIeTdUe7nhfS0z/IqF2W19xIF48R3aqjh uqY8IRD++aK/gYc4/eb3i6ldgfvB9fMsZ7KMV3EemaTJ5qqxznaiiWYDtq/s9+wi xMdoFEV7INFZaWLVj2aUafoiAdQgfo3Fg46CR2xL/Cj4MvFSXcfRZCCz5MIIdZ08 MC4DikHJBQ5Mwo0CqB8J80ipyunQkQUeCITWo1R8rX0z7lYMeaZJhSbsjtmV6dfL oDCZo+I+uRh0l6MLEvtiTfML+6AX6bStSN9iU0SzUO8ekuGk0Va1mbng5kwmlzeh tvdEkZw/rfZ8WDJILY0+CzjLWPVFw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeliedgkedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 6 Oct 2021 10:56:12 -0400 (EDT) From: Thomas Monjalon To: Bruce Richardson Cc: dev@dpdk.org, stable@dpdk.org, Anatoly Burakov Date: Wed, 06 Oct 2021 16:56:08 +0200 Message-ID: <4603731.bdKioTZD4d@thomas> In-Reply-To: <20210913140848.184928-1-bruce.richardson@intel.com> References: <20210913110635.130387-1-bruce.richardson@intel.com> <20210913140848.184928-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] eal/freebsd: lock memory device to prevent conflicts X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 use, preventing other DPDK > processes from starting up and causing problems for us. > > Fixes: 764bf26873b9 ("add FreeBSD support") > Cc: stable@dpdk.org > > Signed-off-by: Bruce Richardson > Reviewed-by: Anatoly Burakov Looks to be applied by David.