From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A825AA0487 for ; Thu, 4 Jul 2019 22:53:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 769A65F11; Thu, 4 Jul 2019 22:53:15 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id E75E358C4; Thu, 4 Jul 2019 22:53:13 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 5507921540; Thu, 4 Jul 2019 16:53:11 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 04 Jul 2019 16:53:11 -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=mesmtp; bh=Hmw1tEylfRY0scPjSnUr7GE2T/ol9qfq3TOkmmONdzs=; b=BzprQKJje2ur tXPlLLXRdUz9en5XHE3kqKGE1gOSYg9EbfWmzjQdQXQuw3tD6qxco1Z8DJ4mxhQk nFjVfc6CrcKiUIPHDu2q8vyplTtEBF7+dJL9XCJTH3dUUddfx0oaSrDAyPTpxT5F u5/+y4IW5BVFLzZyWOWCd+L0iYX+rsc= 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=fm3; bh=Hmw1tEylfRY0scPjSnUr7GE2T/ol9qfq3TOkmmONd zs=; b=yX2L9TvcruJ2dafOlaVHy4jecwVPDiC7FasiN/hCF0XJ3Sy/+WXC8QjvR nRtJ7u7EunNhS+ec3MTwLhxsw8RXscn/UPWQJg6IyRv3oi3oS79xDMk46LCrjO+R sWiECyhw+6L4mmQH6PxyrJDQ2cDjHdg3dC13ll9A7QGNnEdChvdcYK3a3nzG8+I/ OPY3QXlRZFZZEM4RAcpah2RJNBy/G2RgQh4rz1QpNePvC/cVIbTKiuqkv4PXLpxq dznRhN4NsI4UIN2/+pUekPrdFC58larSO66FUNspqSb5/MGtImngSaU2f91xlgb+ bPdAiwm4Y0dpVvUqmWPn+iZ/jwvLg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrfedvgdduheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id E2CD680059; Thu, 4 Jul 2019 16:53:09 -0400 (EDT) From: Thomas Monjalon To: Gage Eads Cc: stable@dpdk.org, dev@dpdk.org, arybchenko@solarflare.com, olivier.matz@6wind.com Date: Thu, 04 Jul 2019 22:53:08 +0200 Message-ID: <4898883.H8BmqfKJlA@xps> In-Reply-To: <20190620220735.6583-1-gage.eads@intel.com> References: <20190618184830.29110-1-gage.eads@intel.com> <20190620220735.6583-1-gage.eads@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v2] doc: add multi-proc shared lib mempool note 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 21/06/2019 00:07, Gage Eads: > The mempool library assigns handler ops indexes based on the dynamic load > order of mempool handlers. Indexes are used so a mempool can be used by > multiple processes, but this only works if all processes agree on the > mapping from index to mempool handler. > > When using the '-d' argument, it's possible for different processes to load > mempool handlers in different orders, and thus have different > index->handler mappings. Using a mempool in multiple of such processes will > result in undefined behavior. > > This commit adds a note to the mempool library programmer's guide warning > users against this. > > Fixes: 449c49b93a6b ("mempool: support handler operations") > Cc: stable@dpdk.org > > Signed-off-by: Gage Eads > Acked-by: Andrew Rybchenko Applied, thanks