> -----Original Message----- > From: Steven Lariau <[email protected]> > Sent: Wednesday, August 12, 2020 2:19 PM > To: Eads, Gage <[email protected]>; Olivier Matz > <[email protected]> > Cc: [email protected]; [email protected]; Steven Lariau <[email protected]> > 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 <[email protected]> > Reviewed-by: Dharmik Thakkar <[email protected]> > Reviewed-by: Phil Yang <[email protected]> > Reviewed-by: Ruifeng Wang <[email protected]> Acked-by: Gage Eads <[email protected]> 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

