> -----Original Message----- > From: Wang, Yipeng1 > Sent: Friday, July 6, 2018 8:47 PM > To: De Lara Guarch, Pablo <pablo.de.lara.gua...@intel.com> > Cc: dev@dpdk.org; Wang, Yipeng1 <yipeng1.w...@intel.com>; Richardson, > Bruce <bruce.richard...@intel.com>; honnappa.nagaraha...@arm.com; > vgu...@caviumnetworks.com; brijesh.s.si...@gmail.com > Subject: [PATCH v3 1/8] hash: fix multiwriter lock memory allocation > > When malloc for multiwriter_lock, the align should be RTE_CACHE_LINE_SIZE > rather than LCORE_CACHE_SIZE. > > Also there should be check to verify the success of rte_malloc. > > Fixes: be856325cba3 ("hash: add scalable multi-writer insertion with Intel > TSX") > Cc: sta...@dpdk.org > > Signed-off-by: Yipeng Wang <yipeng1.w...@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.gua...@intel.com>
- [dpdk-dev] [PATCH v3 0/8] Add read-write concurrency... Yipeng Wang
- [dpdk-dev] [PATCH v3 3/8] hash: fix to have mor... Yipeng Wang
- Re: [dpdk-dev] [PATCH v3 3/8] hash: fix to ... De Lara Guarch, Pablo
- [dpdk-dev] [PATCH v3 4/8] hash: make duplicated... Yipeng Wang
- Re: [dpdk-dev] [PATCH v3 4/8] hash: make du... De Lara Guarch, Pablo
- [dpdk-dev] [PATCH v3 2/8] hash: fix a multi-wri... Yipeng Wang
- Re: [dpdk-dev] [PATCH v3 2/8] hash: fix a m... De Lara Guarch, Pablo
- [dpdk-dev] [PATCH v3 8/8] hash: add new API fun... Yipeng Wang
- Re: [dpdk-dev] [PATCH v3 8/8] hash: add new... De Lara Guarch, Pablo
- [dpdk-dev] [PATCH v3 1/8] hash: fix multiwriter... Yipeng Wang
- Re: [dpdk-dev] [PATCH v3 1/8] hash: fix mul... De Lara Guarch, Pablo
- [dpdk-dev] [PATCH v3 6/8] test: add tests in ha... Yipeng Wang
- Re: [dpdk-dev] [PATCH v3 6/8] test: add tes... De Lara Guarch, Pablo
- [dpdk-dev] [PATCH v3 7/8] test: add test case f... Yipeng Wang
- Re: [dpdk-dev] [PATCH v3 7/8] test: add tes... De Lara Guarch, Pablo
- [dpdk-dev] [PATCH v3 5/8] hash: add read and wr... Yipeng Wang
- Re: [dpdk-dev] [PATCH v3 5/8] hash: add rea... De Lara Guarch, Pablo