Re: [ovs-dev] [PATCH 5/5] ovs-vswitchd: Avoid or suppress memory leak warning for glibc aio.

2018-02-01 Thread Ben Pfaff
On Mon, Jan 29, 2018 at 02:31:31PM -0800, William Tu wrote: > On Thu, Jan 25, 2018 at 3:39 PM, Ben Pfaff wrote: > > The asynchronous IO library in glibc starts threads that show up as memory > > leaks in valgrind. This commit attempts to avoid the warnings by flushing > > all the

Re: [ovs-dev] [PATCH 5/5] ovs-vswitchd: Avoid or suppress memory leak warning for glibc aio.

2018-01-29 Thread William Tu
On Thu, Jan 25, 2018 at 3:39 PM, Ben Pfaff wrote: > The asynchronous IO library in glibc starts threads that show up as memory > leaks in valgrind. This commit attempts to avoid the warnings by flushing > all the asynchronous I/O to the log file before exiting. This only does >

[ovs-dev] [PATCH 5/5] ovs-vswitchd: Avoid or suppress memory leak warning for glibc aio.

2018-01-25 Thread Ben Pfaff
The asynchronous IO library in glibc starts threads that show up as memory leaks in valgrind. This commit attempts to avoid the warnings by flushing all the asynchronous I/O to the log file before exiting. This only does part of the job for glibc since it keeps the threads around for some