On 8/28/22 21:33, Slava Ovsiienko wrote:
-----Original Message----- From: Dmitry Kozlyuk <[email protected]> Sent: Monday, August 8, 2022 12:43 To: [email protected] Cc: Olivier Matz <[email protected]>; Andrew Rybchenko <[email protected]>; [email protected] Subject: [PATCH 1/2] mempool: make event callbacks process-privateCallbacks for mempool events were registered in a process-shared tailq. This was inherently incorrect because the same function may be loaded to a different address in each process. Make the tailq process-private. Use the EAL tailq lock to reduce the number of different locks this module operates. Fixes: da2b9cb25e5f ("mempool: add event callbacks") Cc: [email protected] Signed-off-by: Dmitry Kozlyuk <[email protected]>Acked-by: Viacheslav Ovsiienko <[email protected]>
Reviewed-by: Andrew Rybchenko <[email protected]>

