Dmitry Kozlyuk 03b3cdf9c2 mempool: make event callbacks process-private
Callbacks 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: stable@dpdk.org

Signed-off-by: Dmitry Kozlyuk <dkozlyuk@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
2022-10-10 16:38:03 +02:00
..
2022-07-21 12:13:48 +02:00
2022-10-07 08:44:58 +02:00
2022-07-21 12:13:48 +02:00
2022-07-21 12:13:48 +02:00
2022-07-21 12:13:48 +02:00
2022-09-23 16:14:34 +02:00
2022-07-21 12:13:48 +02:00
2022-09-23 16:14:34 +02:00
2022-10-09 19:36:57 +02:00
2022-07-21 12:13:48 +02:00
2022-07-21 12:13:48 +02:00
2022-08-29 16:24:18 +02:00
2022-10-04 22:37:54 +02:00
2022-07-21 12:13:48 +02:00
2022-07-21 12:13:48 +02:00
2022-07-21 12:13:48 +02:00
2022-07-21 12:13:48 +02:00
2022-10-10 12:20:01 +02:00
2022-09-29 09:20:12 +02:00
2022-07-21 12:13:48 +02:00
2022-07-21 12:13:48 +02:00
2022-10-04 22:37:54 +02:00
2022-07-21 12:13:48 +02:00
2022-10-05 15:29:54 +02:00