[dpdk-dev] [PATCH] test/mcslock: wait for lcore completion

Thomas Monjalon thomas at monjalon.net
Thu Aug 8 12:22:00 CEST 2019


08/08/2019 05:44, Phil Yang (Arm Technology China):
> From: Aaron Conole <aconole at redhat.com>
> > 
> > It's possible that the mcsunlock occurs before the test_mcslock_try has
> > a chance to execute, which will result in the trylock being successful,
> > making the test case fail.  Fix this by waiting until all lcores have
> > completed their test before unlocking the master lock.
> > 
> > Fixes: 32dcb9fd2a22 ("test/mcslock: add MCS queued lock unit test")
> > Cc: Phil Yang <phil.yang at arm.com>
> > Cc: Gavin Hu <gavin.hu at arm.com>
> > Cc: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> > Signed-off-by: Aaron Conole <aconole at redhat.com>
> 
> Thanks for the patch.
> Acked-by: Phil Yang <phil.yang at arm.com>

Applied, thanks





More information about the dev mailing list