[dpdk-dev] [PATCH] eal: detach interrupt and worker threads
David Marchand
david.marchand at redhat.com
Wed Sep 29 08:21:03 CEST 2021
On Thu, Aug 19, 2021 at 4:41 AM Stephen Hemminger
<stephen at networkplumber.org> wrote:
>
> The EAL library does not wait (pthread_join) these threads
> so the should be detached so that library can release resources.
> This shows up when looking for memory leaks with tools like
> valgrind.
The FreeBSD interrupt thread can be detached too.
There is also the hpet-msb-inc thread in Linux that could be detached,
maybe in a followup patch?
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
With FreeBSD interrupt thread addition, you can add:
Reviewed-by: David Marchand <david.marchand at redhat.com>
--
David Marchand
More information about the dev
mailing list