Re: [dpdk-dev] [PATCH 4/4] test/stack: remove atomics operations

2020-08-11 Thread Eads, Gage
> -Original Message- > From: Steven Lariau > Sent: Wednesday, August 5, 2020 10:57 AM > To: Eads, Gage ; Olivier Matz > > Cc: dev@dpdk.org; honnappa.nagaraha...@arm.com; > dharmik.thak...@arm.com; n...@arm.com; Steven Lariau > > Subject: [PATCH 4/4] test/stack: remove atomics operatio

[dpdk-dev] [PATCH 4/4] test/stack: remove atomics operations

2020-08-06 Thread Steven Lariau
Remove the part that checks if there is enough room in the stack, it's always true as long as size of stack >= MAX_BULK*rte_lcore_count(). This check used an atomic cmpset, and read / write to a shared size variable. These operations result in some form of synchronization that might get in the way

[dpdk-dev] [PATCH 4/4] test/stack: remove atomics operations

2020-08-05 Thread Steven Lariau
Remove the part that checks if there is enough room in the stack, it's always true as long as size of stack >= MAX_BULK*rte_lcore_count(). This check used an atomic cmpset, and read / write to a shared size variable. These operations result in some form of synchronization that might get in the way