[PATCH] eal: factorize lcore main loop
Morten Brørup
mb at smartsharesystems.com
Wed Mar 23 13:01:52 CET 2022
> From: David Marchand [mailto:david.marchand at redhat.com]
> Sent: Wednesday, 23 March 2022 10.30
>
> All OS implementations provide the same main loop.
> Introduce helpers (shared for Linux and FreeBSD) to handle
> synchronisation
> between main and threads and factorize the rest as common code.
> Thread id are now logged as string in a common format across OS.
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
> I had this patch in store for a long time.
> I don't particularly care about it, it's not fixing anything.
> But it seems a good cleanup/consolidation, so I rebased it and I am
> sending it to get feedback.
>
LGTM. I'm always in favor of cleaning up! :-)
Thank you, David.
Acked-By: Morten Brørup <mb at smartsharesystems.com>
More information about the dev
mailing list