Re: [dpdk-dev] [PATCH]librte_eal:add heap lock in malloc_heap_get_stats

2017-10-06 Thread Thomas Monjalon
Hi, We need a Signed-off-by to process your contribution. Thank you +Cc sergio.gonzalez.mon...@intel.com 21/09/2017 05:19, liucheng (J): > There is no lock in function malloc_heap_get_stats. When we call this > function, the elem may free by other thread. > > the call stack: > Core was generat

[dpdk-dev] [PATCH]librte_eal:add heap lock in malloc_heap_get_stats

2017-09-20 Thread liucheng (J)
There is no lock in function malloc_heap_get_stats. When we call this function, the elem may free by other thread. the call stack: Core was generated by `ovs-vswitchd unix:/usr/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:info'. Program terminated with signal 11, Segmentation fault. #0 m