The performance test would generate large backlog of quiescent actions which caused test to take excessively long time.
Signed-off-by: Stephen Hemminger <[email protected]> --- app/test/test_rcu_qsbr_perf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/test/test_rcu_qsbr_perf.c b/app/test/test_rcu_qsbr_perf.c index bdffd64e60..8768a9ce1a 100644 --- a/app/test/test_rcu_qsbr_perf.c +++ b/app/test/test_rcu_qsbr_perf.c @@ -313,9 +313,8 @@ test_rcu_qsbr_hash_reader(void *arg) pdata[thread_id]++; } rte_rcu_qsbr_unlock(temp, thread_id); + rte_rcu_qsbr_quiescent(temp, thread_id); } - /* Update quiescent state counter */ - rte_rcu_qsbr_quiescent(temp, thread_id); rte_rcu_qsbr_thread_offline(temp, thread_id); loop_cnt++; } while (!writer_done); -- 2.53.0

