> -----Original Message----- > From: Steven Lariau <steven.lar...@arm.com> > Sent: Wednesday, August 12, 2020 2:19 PM > To: Eads, Gage <gage.e...@intel.com>; Olivier Matz > <olivier.m...@6wind.com> > Cc: dev@dpdk.org; n...@arm.com; Steven Lariau <steven.lar...@arm.com> > Subject: [PATCH v2 1/4] test/stack: avoid trivial memory allocations > > Replace the arguments array by one argument. > All objects in the args array have the same values, so there is no need > to use an array, only one struct is enough. > The args object is a lot smaller, and the allocation can be replaced > with a global variable. > > The allocation of obj_table isn't needed either, because MAX_BULK is > small. The allocation can instead be replaced with a static array. > > Signed-off-by: Steven Lariau <steven.lar...@arm.com> > Reviewed-by: Dharmik Thakkar <dharmik.thak...@arm.com> > Reviewed-by: Phil Yang <phil.y...@arm.com> > Reviewed-by: Ruifeng Wang <ruifeng.w...@arm.com> Acked-by: Gage Eads <gage.e...@intel.com> Thanks, Gage
- [dpdk-dev] [PATCH 1/4] test/stack: avoid trivial memo... Steven Lariau
- Re: [dpdk-dev] [PATCH 1/4] test/stack: avoid tri... Eads, Gage
- Re: [dpdk-dev] [PATCH 1/4] test/stack: avoid... Stephen Hemminger
- Re: [dpdk-dev] [PATCH 1/4] test/stack: a... Honnappa Nagarahalli
- Re: [dpdk-dev] [PATCH 1/4] test/stac... Eads, Gage
- [dpdk-dev] [PATCH v2 0/4] test/stack: improve multith... Steven Lariau
- [dpdk-dev] [PATCH v2 2/4] test/stack: launch tes... Steven Lariau
- [dpdk-dev] [PATCH v2 3/4] test/stack: propagate ... Steven Lariau
- [dpdk-dev] [PATCH v2 1/4] test/stack: avoid triv... Steven Lariau
- Re: [dpdk-dev] [PATCH v2 1/4] test/stack: av... Eads, Gage
- [dpdk-dev] [PATCH v2 4/4] test/stack: remove ato... Steven Lariau
- [dpdk-dev] [PATCH 0/4] test/stack: improve multithrea... Steven Lariau
- [dpdk-dev] [PATCH 2/4] test/stack: launch tests ... Steven Lariau
- [dpdk-dev] [PATCH 3/4] test/stack: propagate err... Steven Lariau
- [dpdk-dev] [PATCH 1/4] test/stack: avoid trivial... Steven Lariau
- [dpdk-dev] [PATCH 4/4] test/stack: remove atomic... Steven Lariau