Re: [dpdk-dev] [PATCH 18.11] malloc: fix deadlock when using malloc stats

2018-12-21 Thread Burakov, Anatoly
On 21-Dec-18 12:09 PM, Thomas Monjalon wrote: 04/12/2018 13:22, Anatoly Burakov: Currently, malloc statistics and external heap creation code use memory hotplug lock as a way to synchronize accesses to heaps (as in, locking the hotplug lock to prevent list of heaps from changing under our feet).

Re: [dpdk-dev] [PATCH 18.11] malloc: fix deadlock when using malloc stats

2018-12-21 Thread Thomas Monjalon
04/12/2018 13:22, Anatoly Burakov: > Currently, malloc statistics and external heap creation code > use memory hotplug lock as a way to synchronize accesses to > heaps (as in, locking the hotplug lock to prevent list of heaps > from changing under our feet). At the same time, malloc > statistics co