app/eventdev: remove unnecessary barrier from order test
authorFeifei Wang <feifei.wang2@arm.com>
Mon, 10 May 2021 06:11:48 +0000 (14:11 +0800)
committerJerin Jacob <jerinj@marvell.com>
Wed, 30 Jun 2021 06:48:55 +0000 (08:48 +0200)
commitd97428bfb94c77921bda8e688ff745b0dcab0abc
tree43015b0ff88b9ce11e7a8791124d5585123e072e
parentff09f8069702bd233f5d39c4d0b8cfbc392d9edc
app/eventdev: remove unnecessary barrier from order test

For "order_launch_lcores" function, wmb after that the main lcore
updates the variable "t->err", which represents the end of the test
signal, is unnecessary. Because after the main lcore updates this
signal variable, it will jump out of the launch function loop, and wait
other lcores stop or return error in the main function(evt_main.c).
During this time, there is no storing operation and thus no need for
wmb.

Signed-off-by: Feifei Wang <feifei.wang2@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
app/test-eventdev/test_order_common.c