[PATCH 0/2] fix the problem of dma-perf infinite loop
David Marchand
david.marchand at redhat.com
Fri Mar 21 08:49:06 CET 2025
On Fri, Mar 21, 2025 at 5:03 AM Dengdui Huang <huangdengdui at huawei.com> wrote:
>
> After CPU isolation is configured, an infinite loop occurs when
> dma-perf is executed using the default config file.
>
> This patchset fix it.
>
> Dengdui Huang (2):
> eal: fix wake a incorrect lcore
> app/dma-perf: fix infinite loop
>
> app/test-dma-perf/benchmark.c | 5 ++++-
> lib/eal/unix/eal_unix_thread.c | 3 +++
> lib/eal/windows/eal_thread.c | 3 +++
> 3 files changed, 10 insertions(+), 1 deletion(-)
We can make EAL launch API more resilient, but the dma-perf
application should not post jobs on non sense lcore id, in the first
place.
parse_lcore() should be validating that the requested lcore_id is valid.
--
David Marchand
More information about the dev
mailing list