[PATCH v1 3/3] test/mempool: add list walk race test
Morten Brørup
mb at smartsharesystems.com
Tue Nov 3 15:15:03 CET 2026
> From: Robert Sanford <rsanford at akamai.com>
>
> Walk, look up and dump the mempool list on some lcores while other
> lcores create and free mempools, in two phases of 500 ms. In the
> first phase, mempools are created and freed as fast as possible. In
> the second phase, every other mempool is created empty and populated
> after a short delay, so that the walkers also find mempools that are
> not populated yet.
>
> Without either of the two previous patches, the test crashes. It
> needs at least 3 lcores and is skipped otherwise. It adds about one
> second to mempool_autotest.
>
> Signed-off-by: Robert Sanford <rsanford at akamai.com>
> ---
This patch 3/3 might need some changes when patch 2/3 has been changed.
Holding back on reviewing until v2 of the series.
-Morten
More information about the dev
mailing list