mbox series

[v2,0/2] replace tight loop with wait until equal api

Message ID 20211020030335.973360-1-feifei.wang2@arm.com (mailing list archive)
Headers
Series replace tight loop with wait until equal api |

Message

Feifei Wang Oct. 20, 2021, 3:03 a.m. UTC
  For dpdk/lib, directly use wait_until_equal API to replace tight loop.

v2:
1. delete wrong 'volatile' in mcslock (David)

Feifei Wang (2):
  eal/common: use wait until equal API for tight loop
  mcslock: use wait until equal API for tight loop

 lib/eal/common/eal_common_mcfg.c      | 3 +--
 lib/eal/include/generic/rte_mcslock.h | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
  

Comments

David Marchand Oct. 20, 2021, 6:20 a.m. UTC | #1
On Wed, Oct 20, 2021 at 5:03 AM Feifei Wang <feifei.wang2@arm.com> wrote:
>
> For dpdk/lib, directly use wait_until_equal API to replace tight loop.
>
> v2:
> 1. delete wrong 'volatile' in mcslock (David)
>
> Feifei Wang (2):
>   eal/common: use wait until equal API for tight loop
>   mcslock: use wait until equal API for tight loop
>
>  lib/eal/common/eal_common_mcfg.c      | 3 +--
>  lib/eal/include/generic/rte_mcslock.h | 3 +--
>  2 files changed, 2 insertions(+), 4 deletions(-)
>

Series applied, thanks.