[PATCH] eal: factorize lcore main loop

Tyler Retzlaff roretzla at linux.microsoft.com
Fri Mar 25 13:23:52 CET 2022


On Wed, Mar 23, 2022 at 10:30:01AM +0100, David Marchand wrote:
> 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.

Acked-By: Tyler Retzlaff <roretzla at linux.microsoft.com>


More information about the dev mailing list