From mboxrd@z Thu Jan 1 00:00:00 1970 From: "De Lara Guarch, Pablo" Subject: Re: [PATCH v3 1/8] hash: fix multiwriter lock memory allocation Date: Mon, 9 Jul 2018 11:26:52 +0000 Message-ID: References: <1528455078-328182-1-git-send-email-yipeng1.wang@intel.com> <1530906406-289697-1-git-send-email-yipeng1.wang@intel.com> <1530906406-289697-2-git-send-email-yipeng1.wang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" , "Richardson, Bruce" , "honnappa.nagarahalli@arm.com" , "vguvva@caviumnetworks.com" , "brijesh.s.singh@gmail.com" To: "Wang, Yipeng1" Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id AE2903195 for ; Mon, 9 Jul 2018 13:26:55 +0200 (CEST) In-Reply-To: <1530906406-289697-2-git-send-email-yipeng1.wang@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Wang, Yipeng1 > Sent: Friday, July 6, 2018 8:47 PM > To: De Lara Guarch, Pablo > Cc: dev@dpdk.org; Wang, Yipeng1 ; Richardson, > Bruce ; honnappa.nagarahalli@arm.com; > vguvva@caviumnetworks.com; brijesh.s.singh@gmail.com > Subject: [PATCH v3 1/8] hash: fix multiwriter lock memory allocation >=20 > When malloc for multiwriter_lock, the align should be RTE_CACHE_LINE_SIZE > rather than LCORE_CACHE_SIZE. >=20 > Also there should be check to verify the success of rte_malloc. >=20 > Fixes: be856325cba3 ("hash: add scalable multi-writer insertion with Inte= l TSX") > Cc: stable@dpdk.org >=20 > Signed-off-by: Yipeng Wang Acked-by: Pablo de Lara