[dpdk-dev] [PATCH v4] pflock: add phase-fair reader writer locks
Stephen Hemminger
stephen at networkplumber.org
Wed Mar 31 18:32:08 CEST 2021
On Wed, 31 Mar 2021 04:19:14 +0000
Honnappa Nagarahalli <Honnappa.Nagarahalli at arm.com> wrote:
> > +
> > + rte_pflock_write_lock(&sl);
> > + /* this message should be the last message of test */
> > + printf("Global write lock taken on main core %u\n", rte_lcore_id());
> > + rte_pflock_write_unlock(&sl);
> > +
> > + rte_eal_mp_wait_lcore();
> > +
> > + if (test_pflock_perf() < 0)
> Suggest separating out the performance test so that it is not run on the cloud CI platforms (which have issues with performance tests timing out). I think autotest_data.py needs to be modified.
I was just copying existing pattern of all lock tests (rwlock, mcslock. ticketlock).
They run the perf test as well.
More information about the dev
mailing list