test/stack: remove thread synchronisation
authorSteven Lariau <steven.lariau@arm.com>
Wed, 12 Aug 2020 19:18:47 +0000 (20:18 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 30 Sep 2020 19:08:39 +0000 (21:08 +0200)
commitc51e67c2ee18305913c67cae3c9c3e54860acd86
tree2736f08977ce7e27ce147cc9d1954df9725229a9
parent044421312c049aa415226403402f632578deab4a
test/stack: remove thread synchronisation

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 of the actual stack testing.

Signed-off-by: Steven Lariau <steven.lariau@arm.com>
Reviewed-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
Reviewed-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Acked-by: Gage Eads <gage.eads@intel.com>
app/test/test_stack.c